mirror of https://github.com/perkeep/perkeep.git
Clean up run.sh; ignore pwd.
This commit is contained in:
parent
791e9ed503
commit
3b28ed2938
|
@ -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 "$@"
|
||||||
|
|
Loading…
Reference in New Issue