summaryrefslogtreecommitdiff
path: root/source/k
diff options
context:
space:
mode:
Diffstat (limited to 'source/k')
-rwxr-xr-xsource/k/kernel-headers.SlackBuild2
-rwxr-xr-xsource/k/kernel-source.SlackBuild8
2 files changed, 5 insertions, 5 deletions
diff --git a/source/k/kernel-headers.SlackBuild b/source/k/kernel-headers.SlackBuild
index f2003442..2721350a 100755
--- a/source/k/kernel-headers.SlackBuild
+++ b/source/k/kernel-headers.SlackBuild
@@ -78,7 +78,7 @@ mkdir -p $PKG/usr
mv asm asm-${HEADERS_ARCH}
ln -sf asm-${HEADERS_ARCH} asm
# Remove unneeded dotfiles:
- find . -name ".??*" -exec rm -f {} \;
+ find . -name ".??*" -exec rm -f {} \+
)
mkdir -p $PKG/install
diff --git a/source/k/kernel-source.SlackBuild b/source/k/kernel-source.SlackBuild
index 5b0b953a..866e94b7 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