summaryrefslogtreecommitdiff
path: root/source/n/openssh
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2018-10-30 21:50:53 +0000
committerEric Hameleers <alien@slackware.com>2018-10-31 09:00:30 +0100
commit686ec3f974cddaf875c09f5e0816ce574cd8c9d9 (patch)
tree99493d6d7e431332502a0515059fdf379c51ba2b /source/n/openssh
parent34b4c5ed43447c4a942ea711c19583ccfc8bcd1a (diff)
downloadcurrent-686ec3f974cddaf875c09f5e0816ce574cd8c9d9.tar.gz
Tue Oct 30 21:50:53 UTC 201820181030215053
a/aaa_terminfo-6.1_20181027-x86_64-1.txz: Upgraded. ap/hplip-3.18.10-x86_64-1.txz: Upgraded. d/bison-3.2-x86_64-1.txz: Upgraded. d/strace-4.25-x86_64-1.txz: Upgraded. l/libsigc++-2.10.1-x86_64-1.txz: Upgraded. l/ncurses-6.1_20181027-x86_64-1.txz: Upgraded. l/xapian-core-1.4.8-x86_64-1.txz: Upgraded. n/getmail-5.7-x86_64-1.txz: Upgraded. xfce/xfce4-notifyd-0.4.3-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/n/openssh')
-rwxr-xr-xsource/n/openssh/openssh.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/n/openssh/openssh.SlackBuild b/source/n/openssh/openssh.SlackBuild
index bd12e278..9a093e2d 100755
--- a/source/n/openssh/openssh.SlackBuild
+++ b/source/n/openssh/openssh.SlackBuild
@@ -29,7 +29,7 @@ TMP=${TMP:-/tmp}
PKG=$TMP/package-openssh
PKGNAM=openssh
-VERSION=${VERSION:-$(echo openssh-*.tar.gz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+VERSION=${VERSION:-$(echo openssh-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -73,7 +73,7 @@ mkdir -p $PKG
# Prepare the framework and extract the package:
cd $TMP
rm -rf $PKG openssh-$VERSION
-tar xvf $CWD/openssh-$VERSION.tar.gz || tar xvf $CWD/openssh-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/openssh-$VERSION.tar.?z || tar xvf $CWD/openssh-$VERSION.tar.bz2 || exit 1
cd openssh-$VERSION || exit 1
chown -R root:root .