cammount: move to cmd/ directory; update dev-cammount script.

Change-Id: Ifa0c4d586c30ebb807a8094594e4872dcd5039ef
This commit is contained in:
Brad Fitzpatrick 2012-03-18 23:58:36 -07:00
parent 685189ca4c
commit 374c1f5360
3 changed files with 7 additions and 4 deletions

View File

@ -6,12 +6,15 @@ set -e
DIR=/tmp/cammount-dir
mkdir -p $DIR
./build.pl cammount
go install ./cmd/cammount/
(fusermount -u $DIR) || true
clients/go/cammount/cammount --blobserver=localhost:3179/bs --password=pass3179 $@ $DIR &
(fusermount -u $DIR) || umount $DIR || umount -f $DIR || true
cammount --blobserver=localhost:3179/bs $@ $DIR &
sleep 1
cd $DIR
bash
cd /
fusermount -u $DIR
fusermount -u $DIR || umount $DIR || umount -f $DIR || true