From 1dcafb99ff91e5389263d6c59b7179fd5abef0a5 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 19 Jun 2016 19:33:15 +0200 Subject: main: drop "on-disk format" from -version output, add Go version As v0.4 introduced ext4-style feature flags, the on-disk format version is unlinkely to change. Drop it from the version output to reduce clutter. Use "gocryptfs -version -debug" to see it. Add the Go version string because only Go 1.6 and newer have an optimized AES-GCM implementation. This will help users to understand the performance of their build. --- build.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.bash') diff --git a/build.bash b/build.bash index c7731ca..829953b 100755 --- a/build.bash +++ b/build.bash @@ -12,7 +12,7 @@ GITVERSIONFUSE=$(cd $GOPATH/src/github.com/hanwen/go-fuse && git rev-parse --sho # Make sure we have the go binary go version > /dev/null -# go version go1.5.1 linux/amd64 +# "go version go1.6.2 linux/amd64" -> "1.6" V=$(go version | cut -d" " -f3 | cut -c3-5) if [ $V == "1.3" -o $V == "1.4" ] -- cgit v1.2.3