summaryrefslogtreecommitdiffstats
path: root/development/google-go-lang/google-go-lang.SlackBuild
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2014-01-30 13:16:33 -0600
committer Robby Workman <rworkman@slackbuilds.org>2014-01-30 15:29:35 -0600
commit481db97cc9998abe8f022040e2324611f5352ea2 (patch)
tree65d69dcc7283d96ded13310f04b923a90e515607 /development/google-go-lang/google-go-lang.SlackBuild
parent30c6fcdef40b89d34a9423954c006c635f2f6996 (diff)
downloadslackbuilds-481db97cc9998abe8f022040e2324611f5352ea2.tar.gz
slackbuilds-481db97cc9998abe8f022040e2324611f5352ea2.tar.xz
development/google-go-lang: Unset BASH_ENV during build
I have no idea why, but having BASH_ENV set (or at least, as it is in my build environment) will cause run.bash to exit with the same error seen here: http://permalink.gmane.org/gmane.comp.lang.go.devel/34316 For the sake of completeness, here's my $HOME/.profile: BASH_ENV=$HOME/.bashrc export BASH_ENV . $HOME/.bashrc As part of the troubeshooting process, I commented out only the first two lines (to confirm that it wasn't the contents of $HOME/.bashrc causing the problem) and the build proceeds correctly. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/google-go-lang/google-go-lang.SlackBuild')
-rw-r--r--development/google-go-lang/google-go-lang.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/development/google-go-lang/google-go-lang.SlackBuild b/development/google-go-lang/google-go-lang.SlackBuild
index 431f9cb824..b954a236b7 100644
--- a/development/google-go-lang/google-go-lang.SlackBuild
+++ b/development/google-go-lang/google-go-lang.SlackBuild
@@ -82,6 +82,8 @@ export GOOS="linux"
export GOBIN="${PKG}/usr/bin"
export GOARCH="${GARCH}"
+unset BASH_ENV # Not sure why, but this causes run.bash to fail --rworkman
+
mkdir -p "${GOBIN}"
cd src