From b6b10e0c6845f6c06d9f89f3d0d44e83b04d3e5f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Dec 2012 17:14:09 -0400 Subject: fix bin paths in osx app --- standalone/osx/git-annex.app/Contents/MacOS/git-annex | 2 +- standalone/osx/git-annex.app/Contents/MacOS/git-annex-webapp | 2 +- standalone/osx/git-annex.app/Contents/MacOS/runshell | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'standalone/osx/git-annex.app/Contents') diff --git a/standalone/osx/git-annex.app/Contents/MacOS/git-annex b/standalone/osx/git-annex.app/Contents/MacOS/git-annex index cda5b569b..f6b9d9c78 100755 --- a/standalone/osx/git-annex.app/Contents/MacOS/git-annex +++ b/standalone/osx/git-annex.app/Contents/MacOS/git-annex @@ -17,7 +17,7 @@ cd "$orig" # If this is a standalone app, set a variable that git-annex can use to # install itself. -if [ -e "$base/bin/git-annex" ]; then +if [ -e "$base/git-annex" ]; then GIT_ANNEX_APP_BASE="$base" export GIT_ANNEX_APP_BASE fi diff --git a/standalone/osx/git-annex.app/Contents/MacOS/git-annex-webapp b/standalone/osx/git-annex.app/Contents/MacOS/git-annex-webapp index 61a9bbbeb..b221db32a 100755 --- a/standalone/osx/git-annex.app/Contents/MacOS/git-annex-webapp +++ b/standalone/osx/git-annex.app/Contents/MacOS/git-annex-webapp @@ -17,7 +17,7 @@ cd "$orig" # If this is a standalone app, set a variable that git-annex can use to # install itself. -if [ -e "$base/bin/git-annex" ]; then +if [ -e "$base/git-annex" ]; then GIT_ANNEX_APP_BASE="$base" export GIT_ANNEX_APP_BASE fi diff --git a/standalone/osx/git-annex.app/Contents/MacOS/runshell b/standalone/osx/git-annex.app/Contents/MacOS/runshell index 3366620ab..e972b777f 100755 --- a/standalone/osx/git-annex.app/Contents/MacOS/runshell +++ b/standalone/osx/git-annex.app/Contents/MacOS/runshell @@ -11,12 +11,12 @@ if [ ! -d "$base" ]; then exit 1 fi -if [ ! -e "$base/bin/git-annex" ]; then - echo "** base directory $base does not contain bin/git-annex" >&2 +if [ ! -e "$base/git-annex" ]; then + echo "** base directory $base does not contain git-annex" >&2 exit 1 fi -if [ ! -e "$base/bin/git" ]; then - echo "** base directory $base does not contain bin/git" >&2 +if [ ! -e "$base/git" ]; then + echo "** base directory $base does not contain git" >&2 exit 1 fi -- cgit v1.2.3