diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:50:20 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:50:20 -0400 |
commit | 2ba17664c2240e9f3748cc6b5c602b9d2c884204 (patch) | |
tree | b4a27dc069c3cdf7c3aa20d8423dae18b91915ae /system | |
parent | 308acc50bc546109df7e3791ad362329df9210d2 (diff) | |
download | slackbuilds-2ba17664c2240e9f3748cc6b5c602b9d2c884204.tar.gz |
system/qemu-kvm: Fixed for bash4.
Diffstat (limited to 'system')
-rw-r--r-- | system/qemu-kvm/qemu-kvm.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/system/qemu-kvm/qemu-kvm.SlackBuild b/system/qemu-kvm/qemu-kvm.SlackBuild index f45de178a7..9d49c9843d 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 {} \; |