summaryrefslogtreecommitdiff
path: root/source/n/lftp/lftp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/lftp/lftp.SlackBuild')
-rwxr-xr-xsource/n/lftp/lftp.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/n/lftp/lftp.SlackBuild b/source/n/lftp/lftp.SlackBuild
index 9e75153a..ba7229c4 100755
--- a/source/n/lftp/lftp.SlackBuild
+++ b/source/n/lftp/lftp.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2012 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=${VERSION:-$(echo lftp-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+VERSION=${VERSION:-$(echo lftp-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j7 "}
@@ -58,7 +58,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf lftp-$VERSION
-tar xvf $CWD/lftp-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/lftp-$VERSION.tar.xz || exit 1
cd lftp-$VERSION
chown -R root:root .