mirror of https://gitee.com/bigwinds/arangodb
add another directory to detect arangosh
This commit is contained in:
parent
ad1c7e7c13
commit
9dffdbe3f2
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue