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 /ruby/ruby2/ruby2.SlackBuild | |
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>
Diffstat (limited to 'ruby/ruby2/ruby2.SlackBuild')
-rw-r--r-- | ruby/ruby2/ruby2.SlackBuild | 9 |
1 files changed, 5 insertions, 4 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 . |