summaryrefslogtreecommitdiffstats
path: root/ruby/ruby2/ruby2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/ruby2/ruby2.SlackBuild')
-rw-r--r--ruby/ruby2/ruby2.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/ruby/ruby2/ruby2.SlackBuild b/ruby/ruby2/ruby2.SlackBuild
index 9b0af0e6b6..4cc787e09a 100644
--- a/ruby/ruby2/ruby2.SlackBuild
+++ b/ruby/ruby2/ruby2.SlackBuild
@@ -31,7 +31,7 @@
PRGNAM=ruby2
SRCNAM=ruby
-VERSION=${VERSION:-2.2.2}
+VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -98,11 +98,17 @@ make install DESTDIR=$PKG
( cd $PKG/usr/bin
mv ruby ruby2
mv rake rake2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' rake2
mv irb irb2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' irb2
mv gem gem2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' gem2
mv erb erb2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' erb2
mv rdoc rdoc2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' rdoc2
mv ri ri2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' ri2
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION