fix bin paths in osx app
This commit is contained in:
parent
81b19b18de
commit
6473f8ea33
3 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue