aboutsummaryrefslogtreecommitdiff
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
parentc94f28604d72bb3b88b8cc46761e0e4e86276861 (diff)
system/virtinst: Fixed for bash4.
-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 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