mirror of https://github.com/perkeep/perkeep.git
cammount: move to cmd/ directory; update dev-cammount script.
Change-Id: Ifa0c4d586c30ebb807a8094594e4872dcd5039ef
This commit is contained in:
parent
685189ca4c
commit
374c1f5360
11
dev-cammount
11
dev-cammount
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue