aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-05-06 14:29:34 +0200
committerJakob Unterwurzacher2017-05-06 14:29:34 +0200
commitcd10d0a6e4c72a17e59c75ee6557ef8cd3842e3b (patch)
tree474c24fd577ceed1455700c1634a456af3f57d07 /main.go
parenta48893b653085b067f91e11806e4de017741d509 (diff)
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.
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files 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"