Add dev-cammount helper.

This commit is contained in:
Brad Fitzpatrick 2011-03-29 10:41:03 -07:00
parent ca1f8f16ad
commit c333db3faf
1 changed files with 17 additions and 0 deletions

17
dev-cammount Executable file
View File

@ -0,0 +1,17 @@
#!/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 --password=pass3179 $@ $DIR &
sleep 1
cd $DIR
bash
cd /
fusermount -u $DIR