summaryrefslogtreecommitdiff
path: root/system/virtinst/virtinst.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:45 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:45 -0400
commitbba87345a3b07e42992d6b6a96bde62b0053ee08 (patch)
tree8f11595aefe46d0c968795465733938320c44248 /system/virtinst/virtinst.SlackBuild
parentc94f28604d72bb3b88b8cc46761e0e4e86276861 (diff)
downloadslackbuilds-bba87345a3b07e42992d6b6a96bde62b0053ee08.tar.gz
system/virtinst: Fixed for bash4.
Diffstat (limited to 'system/virtinst/virtinst.SlackBuild')
-rw-r--r--system/virtinst/virtinst.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/virtinst/virtinst.SlackBuild b/system/virtinst/virtinst.SlackBuild
index c6ef843dfb..cfe792bae7 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