From 3232239c22eab618e405b63923c854557588bacb Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Sun, 9 Sep 2018 05:29:50 +0000 Subject: [PATCH] enable WHOAMI env as folder name Signed-off-by: Leo Chen --- go_executable_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go_executable_build.sh b/go_executable_build.sh index 44efb6146..ac425020a 100755 --- a/go_executable_build.sh +++ b/go_executable_build.sh @@ -10,7 +10,7 @@ BINDIR=bin BUCKET=unique-bucket-bin GOOS=linux GOARCH=amd64 -FOLDER=/$(whoami) +FOLDER=/${WHOAMI:-$USER} function usage {