diff --git a/server/go/blobserver/run.sh b/server/go/blobserver/run.sh index 74db39349..2884eb5d4 100755 --- a/server/go/blobserver/run.sh +++ b/server/go/blobserver/run.sh @@ -1,5 +1,13 @@ #!/bin/sh -mkdir /tmp/camliroot +Bin=$(dirname $( readlink -f $0)) + +echo "BIN is: [$Bin]" + +ROOT=/tmp/camliroot +if [ ! -d $ROOT ]; then + mkdir $ROOT +fi export CAMLI_PASSWORD=foo -make && ./camlistored -listen=:3179 "$@" + +$Bin/../../../build.pl server/go/blobserver && $Bin/camlistored -root=$ROOT -listen=:3179 "$@"