summaryrefslogtreecommitdiffstats
path: root/source/l
diff options
context:
space:
mode:
Diffstat (limited to 'source/l')
-rwxr-xr-xsource/l/openjpeg/openjpeg.SlackBuild8
-rwxr-xr-xsource/l/readline/readline.SlackBuild2
2 files changed, 5 insertions, 5 deletions
diff --git a/source/l/openjpeg/openjpeg.SlackBuild b/source/l/openjpeg/openjpeg.SlackBuild
index 054a1d334..99c222e7f 100755
--- a/source/l/openjpeg/openjpeg.SlackBuild
+++ b/source/l/openjpeg/openjpeg.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for openjpeg
# Copyright 2008-2014 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2014, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2014, 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=openjpeg
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -75,7 +75,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf openjpeg-$VERSION
-tar xvf $CWD/openjpeg-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/openjpeg-$VERSION.tar.?z || exit 1
cd openjpeg-$VERSION || exit 1
chown -R root:root .
find . \
diff --git a/source/l/readline/readline.SlackBuild b/source/l/readline/readline.SlackBuild
index 382e3607e..670b44f4b 100755
--- a/source/l/readline/readline.SlackBuild
+++ b/source/l/readline/readline.SlackBuild
@@ -59,7 +59,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
# Determine readline patchlevel:
-PATCHLEVEL="$( cd $CWD/readline-${VERSION}-patches ; /bin/ls readline7?-??? 2> /dev/null | tail -1 | cut -f 2 -d - 2> /dev/null )"
+PATCHLEVEL="$( cd $CWD/readline-${VERSION}-patches ; /bin/ls readline??-??? 2> /dev/null | tail -1 | cut -f 2 -d - 2> /dev/null )"
if [ "$PATCHLEVEL" = "" ]; then
PATCHLEVEL=000
fi