summaryrefslogtreecommitdiff
path: root/system/virtinst/virtinst.SlackBuild
diff options
context:
space:
mode:
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