From cd10d0a6e4c72a17e59c75ee6557ef8cd3842e3b Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 6 May 2017 14:29:34 +0200 Subject: [PATCH] main: more specific default values for GitVersion etc Now looks like this: $ ./gocryptfs -version gocryptfs [GitVersion not set - please compile using ./build.bash]; go-fuse [GitVersionFuse not set - please compile using ./build.bash]; 0000-00-00 go1.8 Hopefully easier to grep for. --- main.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 2a7d435..160829f 100644 --- a/main.go +++ b/main.go @@ -28,13 +28,11 @@ const ( ErrExitMountPoint = 10 ) -const pleaseBuildBash = "[not set - please compile using ./build.bash]" - // GitVersion is the gocryptfs version according to git, set by build.bash -var GitVersion = pleaseBuildBash +var GitVersion = "[GitVersion not set - please compile using ./build.bash]" // GitVersionFuse is the go-fuse library version, set by build.bash -var GitVersionFuse = pleaseBuildBash +var GitVersionFuse = "[GitVersionFuse not set - please compile using ./build.bash]" // BuildTime is the Unix timestamp, set by build.bash var BuildTime = "0"