aboutsummaryrefslogtreecommitdiff
path: root/beku.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2018-05-29 19:56:51 +0700
committerShulhan <ms@kilabit.info>2018-05-30 00:53:50 +0700
commite03df9e26b215ad03571d48c0800bea6de5821bb (patch)
tree37ab46f2b9253523a05e21546bd5efc9d46103da /beku.go
parent60f06a0425f401ca8c21f8ec0c72d27cda7166c4 (diff)
downloadbeku-e03df9e26b215ad03571d48c0800bea6de5821bb.tar.xz
package: GoInstall: set default PATH if it's empty
Diffstat (limited to 'beku.go')
-rw-r--r--beku.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/beku.go b/beku.go
index ca8bdc5..ea3f929 100644
--- a/beku.go
+++ b/beku.go
@@ -17,6 +17,8 @@ const (
dbgSkipSelf = "skip self dep"
dbgSkipStd = "skip std dep"
+ defPATH = "/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
+
dirDB = "var/beku"
dirBin = "bin"
dirPkg = "pkg"
@@ -25,6 +27,7 @@ const (
dirVendor = "vendor"
envDEBUG = "BEKU_DEBUG"
+ envPATH = "PATH"
msgUpdateProceed = "Proceed with update?"
msgUpdateView = "View commit logs?"