diff options
author | David Spencer <baildon.research@googlemail.com> | 2013-11-24 11:05:32 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-11-24 19:23:45 +0700 |
commit | 24dde203cbe46cd907f754e72d242b533d6bdb4e (patch) | |
tree | fdd6ef45bd1b71fbf9c52a743a93cdce0873fa93 | |
parent | e62411a3731a7f07e60129a423e9eae748fa3d23 (diff) | |
download | slackbuilds-24dde203cbe46cd907f754e72d242b533d6bdb4e.tar.gz |
ruby/ruby2: Fixed version numbering.
Was using a hyphen in VERSION.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | ruby/ruby2/ruby2.SlackBuild | 9 | ||||
-rw-r--r-- | ruby/ruby2/ruby2.info | 2 |
2 files changed, 6 insertions, 5 deletions
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" |