foxygit / doom Log in
commit 213b88ef3557f680233c6165b5dc6f2185c0f482
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Jan 10 20:46:15 2010 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Jan 10 20:46:15 2010 +0000

    Change "@executable_path@" to "@executable_path"

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1799
---
 pkg/osx/cp-with-libs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/osx/cp-with-libs b/pkg/osx/cp-with-libs
index 18274172..04fb5bc6 100755
--- a/pkg/osx/cp-with-libs
+++ b/pkg/osx/cp-with-libs
@@ -83,14 +83,14 @@ install_with_deps() {
 		# 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

 	# 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
 }