diff options
Diffstat (limited to 'ui-macos/git-annex.app/Contents')
-rwxr-xr-x | ui-macos/git-annex.app/Contents/MacOS/git-annex-webapp | 4 | ||||
-rwxr-xr-x | ui-macos/git-annex.app/Contents/MacOS/runshell | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ui-macos/git-annex.app/Contents/MacOS/git-annex-webapp b/ui-macos/git-annex.app/Contents/MacOS/git-annex-webapp index 7955bef15..565c3d1cb 100755 --- a/ui-macos/git-annex.app/Contents/MacOS/git-annex-webapp +++ b/ui-macos/git-annex.app/Contents/MacOS/git-annex-webapp @@ -12,8 +12,8 @@ fi # If this is a standalone app, set a variable that git-annex can use to # install itself. if [ -e "$base/bin/git-annex" ]; then - GIT_ANNEX_OSX_WEBAPP_PROGRAM="$base/bin/git-annex" - export OSX_GIT_ANNEX_APP_PROGRAM + GIT_ANNEX_OSX_APP_BASE="$base" + export GIT_ANNEX_OSX_APP_BASE fi "$base/runshell" git-annex webapp "$@" diff --git a/ui-macos/git-annex.app/Contents/MacOS/runshell b/ui-macos/git-annex.app/Contents/MacOS/runshell index 78ba3bf0c..ade917686 100755 --- a/ui-macos/git-annex.app/Contents/MacOS/runshell +++ b/ui-macos/git-annex.app/Contents/MacOS/runshell @@ -47,7 +47,7 @@ export GIT_EXEC_PATH if [ "$1" ]; then cmd="$1" shift 1 - "$cmd" "$@" + exec "$cmd" "$@" else $SHELL fi |