1
0
Fork 0

add another directory to detect arangosh

This commit is contained in:
Wilfried Goesgens 2017-02-08 11:00:50 +01:00
parent ad1c7e7c13
commit 9dffdbe3f2
1 changed files with 21 additions and 18 deletions

View File

@ -2,7 +2,7 @@
export PID=$$ export PID=$$
if test -n "$ORIGINAL_PATH"; then if test -n "$ORIGINAL_PATH"; then
# running in cygwin... # running in cygwin...
PS='\' PS='\'
export EXT=".exe" export EXT=".exe"
else else
@ -19,8 +19,11 @@ if [ -z "${ARANGOSH}" ]; then
ARANGOSH=build/bin/arangosh ARANGOSH=build/bin/arangosh
elif [ -x bin/arangosh ]; then elif [ -x bin/arangosh ]; then
ARANGOSH=bin/arangosh ARANGOSH=bin/arangosh
elif [ -x usr/bin/arangosh ]; then
ARANGOSH=usr/bin/arangosh
else else
echo "$0: cannot locate arangosh" echo "$0: cannot locate arangosh"
exit 1
fi fi
fi fi