From 24dde203cbe46cd907f754e72d242b533d6bdb4e Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 24 Nov 2013 11:05:32 +0000 Subject: ruby/ruby2: Fixed version numbering. Was using a hyphen in VERSION. Signed-off-by: Willy Sudiarto Raharjo --- ruby/ruby2/ruby2.SlackBuild | 9 +++++---- ruby/ruby2/ruby2.info | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'ruby/ruby2') diff --git a/ruby/ruby2/ruby2.SlackBuild b/ruby/ruby2/ruby2.SlackBuild index 160bf5f395..8822596a6e 100644 --- a/ruby/ruby2/ruby2.SlackBuild +++ b/ruby/ruby2/ruby2.SlackBuild @@ -23,11 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ruby2 -VERSION=${VERSION:-2.0.0-p247} +VERSION=${VERSION:-2.0.0_p247} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM=ruby +SRCVER=$(echo $VERSION | tr _ - ) if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -57,9 +58,9 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION +rm -rf $SRCNAM-$SRCVER +tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz +cd $SRCNAM-$SRCVER chown -R root:root . chmod -R u+w,go+r-w,a-s+X . diff --git a/ruby/ruby2/ruby2.info b/ruby/ruby2/ruby2.info index c83b71ff03..81b3336adc 100644 --- a/ruby/ruby2/ruby2.info +++ b/ruby/ruby2/ruby2.info @@ -1,5 +1,5 @@ PRGNAM="ruby2" -VERSION="2.0.0-p247" +VERSION="2.0.0_p247" HOMEPAGE="http://www.ruby-lang.org" DOWNLOAD="http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz" MD5SUM="c351450a0bed670e0f5ca07da3458a5b" -- cgit v1.2.3