perkeep/dev-cammount

18 lines
248 B
Bash
Executable File

#!/bin/sh
set -x
set -e
DIR=/tmp/cammount-dir
mkdir -p $DIR
./build.pl cammount
(fusermount -u $DIR) || true
clients/go/cammount/cammount --blobserver=localhost:3179/bs --password=pass3179 $@ $DIR &
sleep 1
cd $DIR
bash
cd /
fusermount -u $DIR