From 2ba17664c2240e9f3748cc6b5c602b9d2c884204 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:50:20 -0400 Subject: system/qemu-kvm: Fixed for bash4. --- system/qemu-kvm/qemu-kvm.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'system/qemu-kvm') 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 {} \; -- cgit v1.2.3