forked from Mirrors/openclonk
Hard-code line endings of shell scripts to LF
No idea whether this is the right way to do this.stable-6.1
parent
bd9da84fcb
commit
48ae42f87e
|
@ -1,3 +1,6 @@
|
||||||
.git_archival export-subst
|
.git_archival export-subst
|
||||||
.gitattributes export-ignore
|
.gitattributes export-ignore
|
||||||
.gitignore 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
|
echo "Cannot find ${_library_name}." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_base="$(basename "${_library_name}")"
|
_base="$(basename "${_library_name}")"
|
||||||
_bundle_path="${_frameworks_folder_path}/${_base}"
|
_bundle_path="${_frameworks_folder_path}/${_base}"
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ bundle_dependencies() {
|
||||||
echo "Bundling '${_library_path}' as '${_base}'..."
|
echo "Bundling '${_library_path}' as '${_base}'..."
|
||||||
cp "${_library_path}" "${_bundle_path}"
|
cp "${_library_path}" "${_bundle_path}"
|
||||||
chmod u+w "${_bundle_path}"
|
chmod u+w "${_bundle_path}"
|
||||||
|
|
||||||
# Set a new install name for this dylib
|
# Set a new install name for this dylib
|
||||||
"${_install_name_tool}" -id "${_id}" "${_bundle_path}"
|
"${_install_name_tool}" -id "${_id}" "${_bundle_path}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue