shithub: choc

Download patch

ref: 213b88ef3557f680233c6165b5dc6f2185c0f482
parent: 7b07b99fa23b112986a6eb54fbec218f7069ef71
author: Simon Howard <[email protected]>
date: Sun Jan 10 15:46:15 EST 2010

Change "@executable_path@" to "@executable_path"

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1799

--- a/pkg/osx/cp-with-libs
+++ b/pkg/osx/cp-with-libs
@@ -83,7 +83,7 @@
 		# copy inside the package:
 
 		lib_name=$(basename "$REPLY")
-		install_name_tool -change "$REPLY" "@executable_path@/$lib_name" \
+		install_name_tool -change "$REPLY" "@executable_path/$lib_name" \
 		                  "$dest_file"
 	done
 
@@ -90,7 +90,7 @@
 	# If this is a library that we have installed, change its id:
 
 	if is_dylib "$dest_file"; then
-		install_name_tool -id "@executable_path@/$bin_name" "$dest_file"
+		install_name_tool -id "@executable_path/$bin_name" "$dest_file"
 	fi
 }