summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Edward W. Koenig <kingbeowulf@linuxgalaxy.org>2023-05-26 15:01:26 -0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-27 08:08:56 +0700
commit2df2485d6df151f016e9e84285543e245e0c9364 (patch)
tree9b5148ab5155e38502dd04cb84bcfcf48bde8348
parent8d5a6dd79f383b40ce59877bf61aa091053a21f8 (diff)
downloadslackbuilds-2df2485d6df151f016e9e84285543e245e0c9364.tar.gz
slackbuilds-2df2485d6df151f016e9e84285543e245e0c9364.tar.xz
system/qemu: Fix find performance
Signed-off-by: Edward W. Koenig <kingbeowulf@linuxgalaxy.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/qemu/qemu.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild
index c198aca16b..7fe2516f2e 100644
--- a/system/qemu/qemu.SlackBuild
+++ b/system/qemu/qemu.SlackBuild
@@ -89,9 +89,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + || true
# Remove double CFLAGS
sed -i "s|^\ \ CFLAGS=\"-O2\ | CFLAGS=\"|" configure