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

Vincent Batts vbatts at gmail.com
Mon Jul 25 02:10:07 UTC 2016


good catch

On Sun, Jul 24, 2016 at 9:13 PM, 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
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>


More information about the SlackBuilds-users mailing list