summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2016-09-12 08:24:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-12 08:24:23 +0700
commitc9ffc58cba140f7d8b6609c2f6b2f112f3290c10 (patch)
tree306cec0e51ba762f9072f6e3a5c96ec67ea0c9d2
parent18ab81605bb052ab41ba3ba45e342209db224b6f (diff)
downloadslackbuilds-c9ffc58cba140f7d8b6609c2f6b2f112f3290c10.tar.gz
ruby/rbenv: Fix broken /etc/profile.d/rbenv.csh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--ruby/rbenv/rbenv.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/rbenv/rbenv.SlackBuild b/ruby/rbenv/rbenv.SlackBuild
index 12afc67d68..f41479a68b 100644
--- a/ruby/rbenv/rbenv.SlackBuild
+++ b/ruby/rbenv/rbenv.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=rbenv
VERSION=${VERSION:-1.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -110,7 +110,7 @@ cat << "EOF" > $PKG/etc/profile.d/rbenv.csh
# see caveats for csh here
# https://github.com/rbenv/rbenv/issues/820
-setenv PATH "$(rbenv root)/shims:${PATH}"
+setenv PATH "`rbenv root`/shims:${PATH}"
EOF
cat << "EOF" > $PKG/etc/profile.d/rbenv.sh