summaryrefslogtreecommitdiff
path: root/source/a/mdadm/mdadm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/mdadm/mdadm.SlackBuild')
-rwxr-xr-xsource/a/mdadm/mdadm.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/a/mdadm/mdadm.SlackBuild b/source/a/mdadm/mdadm.SlackBuild
index 3106e223..0136b381 100755
--- a/source/a/mdadm/mdadm.SlackBuild
+++ b/source/a/mdadm/mdadm.SlackBuild
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mdadm
-VERSION=${VERSION:-$(echo mdadm-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo mdadm-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -67,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf mdadm-$VERSION
-tar xvf $CWD/mdadm-$VERSION.tar.xz || exit 1
+tar xvf $CWD/mdadm-$VERSION.tar.?z || exit 1
cd mdadm-$VERSION || exit 1
chown -R root:root .