summaryrefslogtreecommitdiff
path: root/standalone/osx
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-08 11:07:59 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-08 11:07:59 -0400
commitc1552daa3283ba03ef041312036d0e2f56c8fd87 (patch)
treeec8ea7939347c84ae2e5d106f76ff26cc05c7da1 /standalone/osx
parent7864e92bdaf01838eab279f79f90015e86b20bb0 (diff)
use install_name_tool to adjust library paths in osx app
Have not yet been able to test this.
Diffstat (limited to 'standalone/osx')
-rwxr-xr-xstandalone/osx/git-annex.app/Contents/MacOS/runshell12
1 files changed, 6 insertions, 6 deletions
diff --git a/standalone/osx/git-annex.app/Contents/MacOS/runshell b/standalone/osx/git-annex.app/Contents/MacOS/runshell
index ade1dd3f6..3366620ab 100755
--- a/standalone/osx/git-annex.app/Contents/MacOS/runshell
+++ b/standalone/osx/git-annex.app/Contents/MacOS/runshell
@@ -55,18 +55,18 @@ export PATH
# different versions of a single library. And it seems to work better
# than DYLD_FALLBACK_LIBRARY_PATH, which fails to override old system
# versions of libraries when a program in the app needs a newer version.
-ORIG_DYLD_ROOT_PATH="$DYLD_ROOT_PATH"
-export ORIG_DYLD_ROOT_PATH
-DYLD_ROOT_PATH=$base
-export DYLD_ROOT_PATH
+#ORIG_DYLD_ROOT_PATH="$DYLD_ROOT_PATH"
+#export ORIG_DYLD_ROOT_PATH
+#DYLD_ROOT_PATH=$base
+#export DYLD_ROOT_PATH
ORIG_GIT_EXEC_PATH="$GIT_EXEC_PATH"
export ORIG_GIT_EXEC_PATH
-GIT_EXEC_PATH=$base/git-core
+GIT_EXEC_PATH=$base
export GIT_EXEC_PATH
# Indicate which variables were exported above.
-GIT_ANNEX_STANDLONE_ENV="PATH DYLD_ROOT_PATH GIT_EXEC_PATH"
+GIT_ANNEX_STANDLONE_ENV="PATH GIT_EXEC_PATH"
export GIT_ANNEX_STANDLONE_ENV
if [ "$1" ]; then