Clean up run.sh; ignore pwd.

This commit is contained in:
Brad Fitzpatrick 2011-01-13 18:07:21 -08:00
parent 791e9ed503
commit 3b28ed2938
1 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,13 @@
#!/bin/sh #!/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 export CAMLI_PASSWORD=foo
make && ./camlistored -listen=:3179 "$@"
$Bin/../../../build.pl server/go/blobserver && $Bin/camlistored -root=$ROOT -listen=:3179 "$@"