summaryrefslogtreecommitdiffstats
path: root/system/exomizer/exomizer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/exomizer/exomizer.SlackBuild')
-rw-r--r--system/exomizer/exomizer.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/exomizer/exomizer.SlackBuild b/system/exomizer/exomizer.SlackBuild
index e3e6eecbe6..862cdb6885 100644
--- a/system/exomizer/exomizer.SlackBuild
+++ b/system/exomizer/exomizer.SlackBuild
@@ -69,8 +69,11 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-unzip $CWD/${PRGNAM}${VERSION//./}.zip* -x dos/\* win32/\* || \
- unzip $CWD/$PRGNAM-$VERSION.zip* -x dos/\* win32/\*
+
+# 20221227 bkw: stop this from failing when I've got 2 copies of
+# the zip file in my directory (one with .1 at the end of the name).
+ZIPFILE=$( /bin/ls $CWD/$PRGNAM-$VERSION.zip* | head -1 )
+unzip $ZIPFILE -x win32/\*
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+