summaryrefslogtreecommitdiff
path: root/source/ap/xorriso/xorriso.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/xorriso/xorriso.SlackBuild')
-rwxr-xr-xsource/ap/xorriso/xorriso.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/ap/xorriso/xorriso.SlackBuild b/source/ap/xorriso/xorriso.SlackBuild
index 27ec3494..e5fc3872 100755
--- a/source/ap/xorriso/xorriso.SlackBuild
+++ b/source/ap/xorriso/xorriso.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2017, 2018, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -74,9 +74,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf $PKGNAM-$VERSION
+rm -rf $PKGNAM-$VERSION $PKGNAM-$(echo $VERSION | rev | cut -f2- -d . | rev)
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
-cd $PKGNAM-$VERSION || exit 1
+cd $PKGNAM-$VERSION || cd $PKGNAM-$(echo $VERSION | rev | cut -f2- -d . | rev) || exit 1
chown -R root:root .
find . \