development/google-go-lang: Fix csh profile script

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2016-07-25 18:26:33 -05:00 committed by Willy Sudiarto Raharjo
parent b5a897b038
commit 2f38208dc7
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -28,7 +28,7 @@
PRGNAM=google-go-lang
VERSION=${VERSION:-1.6.3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
RELEASE=${RELEASE:-linux}
@ -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