From bba87345a3b07e42992d6b6a96bde62b0053ee08 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:50:45 -0400 Subject: system/virtinst: Fixed for bash4. --- system/virtinst/virtinst.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'system') diff --git a/system/virtinst/virtinst.SlackBuild b/system/virtinst/virtinst.SlackBuild index c6ef843dfb18..cfe792bae712 100644 --- a/system/virtinst/virtinst.SlackBuild +++ b/system/virtinst/virtinst.SlackBuild @@ -39,12 +39,8 @@ find . \ python setup.py install --root $PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Move and compress man pages mv $PKG/usr/share/man $PKG/usr -- cgit v1.2.3