Hard-code line endings of shell scripts to LF

No idea whether this is the right way to do this.
stable-6.1
Peter Wortmann 2015-02-23 11:40:06 +01:00
parent bd9da84fcb
commit 48ae42f87e
2 changed files with 5 additions and 2 deletions

3
.gitattributes vendored
View File

@ -1,3 +1,6 @@
.git_archival export-subst
.gitattributes export-ignore
.gitignore export-ignore
*.sh text eol=lf
tools/osx_bundle_libs text eol=lf

View File

@ -48,7 +48,7 @@ bundle_dependencies() {
echo "Cannot find ${_library_name}." >&2
exit 1
fi
_base="$(basename "${_library_name}")"
_bundle_path="${_frameworks_folder_path}/${_base}"
@ -70,7 +70,7 @@ bundle_dependencies() {
echo "Bundling '${_library_path}' as '${_base}'..."
cp "${_library_path}" "${_bundle_path}"
chmod u+w "${_bundle_path}"
# Set a new install name for this dylib
"${_install_name_tool}" -id "${_id}" "${_bundle_path}"