diff options
author | Jakob Unterwurzacher | 2017-05-06 14:29:34 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-05-06 14:29:34 +0200 |
commit | cd10d0a6e4c72a17e59c75ee6557ef8cd3842e3b (patch) | |
tree | 474c24fd577ceed1455700c1634a456af3f57d07 /main.go | |
parent | a48893b653085b067f91e11806e4de017741d509 (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.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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" |