aboutsummaryrefslogtreecommitdiff
path: root/system/qemu-kvm
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:20 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:20 -0400
commit2ba17664c2240e9f3748cc6b5c602b9d2c884204 (patch)
treeb4a27dc069c3cdf7c3aa20d8423dae18b91915ae /system/qemu-kvm
parent308acc50bc546109df7e3791ad362329df9210d2 (diff)
system/qemu-kvm: Fixed for bash4.
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 {} \;