summaryrefslogtreecommitdiffstats
path: root/source/k/kernel-source.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsource/k/kernel-source.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/k/kernel-source.SlackBuild b/source/k/kernel-source.SlackBuild
index 5b0b953a0..866e94b7d 100755
--- a/source/k/kernel-source.SlackBuild
+++ b/source/k/kernel-source.SlackBuild
@@ -130,9 +130,9 @@ echo "Untarring $CWD/linux-${VERSION}.tar.?z in $PKG/usr/src..."
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
) || exit 1
# Kernel is now ready to configure. We will also build this kernel so that
@@ -153,10 +153,10 @@ echo "Untarring $CWD/linux-${VERSION}.tar.?z in $PKG/usr/src..."
# Make sure header files aren't missing...
make prepare
# Don't package the kernel in the sources:
- find . -name "*Image" -exec rm "{}" \;
+ find . -name "*Image" -exec rm "{}" \+
# No need for these:
rm -f .config.old .version
- find . -name "*.cmd" -exec rm -f "{}" \;
+ find . -name "*.cmd" -exec rm -f "{}" \+
rm .*.d
# Still some dotfiles laying around... probably fine though
) || exit 1