[Slackbuilds-users] go.csh in google-go-lang incorrect

Andrew Clemons aclemons at runbox.no
Mon Jul 25 01:13:38 UTC 2016


The csh variant should use setenv to set environment variables. Maybe a
copy/paste mistake.

--- a/development/google-go-lang/google-go-lang.SlackBuild
+++ b/development/google-go-lang/google-go-lang.SlackBuild
@@ -106,7 +106,7 @@ mkdir -p $PKG/etc/profile.d
 cat > $PKG/etc/profile.d/go.csh.new << EOF
 #!/bin/csh
 setenv GOROOT ${GOROOT_FINAL}
-export PATH="\${GOROOT}/bin:\${PATH}"
+setenv PATH \${GOROOT}/bin:\${PATH}
 EOF
 cat > $PKG/etc/profile.d/go.sh.new << EOF
 #!/bin/sh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160725/fce9853a/attachment.asc>


More information about the SlackBuilds-users mailing list