aboutsummaryrefslogtreecommitdiff
path: root/ruby/ruby-build/ruby-build.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/ruby-build/ruby-build.SlackBuild')
-rw-r--r--ruby/ruby-build/ruby-build.SlackBuild14
1 files changed, 2 insertions, 12 deletions
diff --git a/ruby/ruby-build/ruby-build.SlackBuild b/ruby/ruby-build/ruby-build.SlackBuild
index 884f53caf97c4..723628258aa9f 100644
--- a/ruby/ruby-build/ruby-build.SlackBuild
+++ b/ruby/ruby-build/ruby-build.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ruby-build
-VERSION=${VERSION:-20160913}
+VERSION=${VERSION:-20161115}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,18 +39,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-
-if [ -e "$CWD/$PRGNAM-$VERSION.tar.gz" ] ; then
- tar xvf "$CWD/$PRGNAM-$VERSION.tar.gz"
-elif [ -e "$CWD/v$VERSION.tar.gz" ] ; then
- tar xvf "$CWD/v$VERSION.tar.gz"
-else
- echo "Source tarball not found - checked $PRGNAM-$VERSION.tar.gz and v$VERSION.tar.gz"
- exit 2
-fi
-
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \