aboutsummaryrefslogtreecommitdiff
path: root/system/qemu-kvm
diff options
context:
space:
mode:
Diffstat (limited to 'system/qemu-kvm')
-rw-r--r--system/qemu-kvm/qemu-kvm.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/qemu-kvm/qemu-kvm.SlackBuild b/system/qemu-kvm/qemu-kvm.SlackBuild
index f45de178a78b5..9d49c9843dcb2 100644
--- a/system/qemu-kvm/qemu-kvm.SlackBuild
+++ b/system/qemu-kvm/qemu-kvm.SlackBuild
@@ -98,12 +98,8 @@ cp -a kvm/kvm_stat $PKG/usr/bin/
mkdir -p $PKG/lib/udev/rules.d/
cat kvm/scripts/65-kvm.rules > $PKG/lib/udev/rules.d/65-kvm.rules
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;