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.
This commit is contained in:
parent
a48893b653
commit
cd10d0a6e4
6
main.go
6
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"
|
||||
|
Loading…
Reference in New Issue
Block a user