1
0
Fork 0

If we run in cygwin, we have to append .exe

This commit is contained in:
Willi Goesgens 2015-06-12 17:53:47 +02:00
parent cc2c99be23
commit f9c2bc1c49
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@ fi
if test -n "$ORIGINAL_PATH"; then
# running in cygwin...
PS='\'
export EXT=".exe"
else
export EXT=""
PS='/'
fi;
@ -38,7 +40,7 @@ echo Database has its data in data-$PID
echo Logfile is in log-$PID
$VG bin/arangod \
--configuration none \
--cluster.agent-path bin${PS}etcd-arango \
--cluster.agent-path bin${PS}etcd-arango${EXT} \
--cluster.arangod-path bin${PS}arangod \
--cluster.coordinator-config etc${PS}relative${PS}arangod-coordinator.conf \
--cluster.dbserver-config etc${PS}relative${PS}arangod-dbserver.conf \