Permalink
Browse files

Hard-code line endings of shell scripts to LF

No idea whether this is the right way to do this.
  • Loading branch information...
scpmw committed Feb 23, 2015
1 parent bd9da84 commit 48ae42f87e82f26e696ba62c1f4de82d90949522
Showing with 5 additions and 2 deletions.
  1. +3 −0 .gitattributes
  2. +2 −2 tools/osx_bundle_libs
@@ -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
@@ -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}"

0 comments on commit 48ae42f

Please sign in to comment.