aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-04-28 08:41:39 +0200
committerJakob Unterwurzacher2016-04-28 08:41:39 +0200
commitbb16f2d565674153bd7c3781e23048586c73e0a8 (patch)
treedb1ea10720e816eddaf186691e3bf749b33c4f41
parent4d79fba2853b7d0b5f4cafc4aab55b1c448282e3 (diff)
build.bash: replace "git -C"
"-C" is not supported on older git versions. Instead, just cd into the directory. See issue #20.
-rwxr-xr-xbuild.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.bash b/build.bash
index 08ccb36..3a3684e 100755
--- a/build.bash
+++ b/build.bash
@@ -7,7 +7,7 @@ cd "$(dirname "$0")"
# gocryptfs version according to git
GITVERSION=$(git describe --tags --dirty)
# go-fuse version according to git
-GITVERSIONFUSE=$(git -C $GOPATH/src/github.com/hanwen/go-fuse rev-parse --short HEAD)
+GITVERSIONFUSE=$(cd $GOPATH/src/github.com/hanwen/go-fuse && git rev-parse --short HEAD)
# go version go1.5.1 linux/amd64
V=$(go version | cut -d" " -f3 | cut -c3-5)