From 3b28ed2938ecbbd476d3bbc87bc2a747aedf3006 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 13 Jan 2011 18:07:21 -0800 Subject: [PATCH] Clean up run.sh; ignore pwd. --- server/go/blobserver/run.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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 "$@"