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

Robby Workman rworkman at slackbuilds.org
Mon Jul 25 23:27:26 UTC 2016


On Mon, 25 Jul 2016 13:13:38 +1200
Andrew Clemons <aclemons at runbox.no> wrote:

> 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


commit 01daa963d53e1b92f118c46b18daecd2f7462e87
Author: Andrew Clemons <aclemons at runbox.no>
Date:   Mon Jul 25 18:26:33 2016 -0500

    development/google-go-lang: Fix csh profile script
    
    Signed-off-by: Robby Workman <rworkman at slackbuilds.org>


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


More information about the SlackBuilds-users mailing list