summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/warvox/warvox.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/warvox/warvox.SlackBuild b/network/warvox/warvox.SlackBuild
index 7d6a5b1cd6..7a8494d3c9 100644
--- a/network/warvox/warvox.SlackBuild
+++ b/network/warvox/warvox.SlackBuild
@@ -73,12 +73,8 @@ mkdir -p $PKG/etc/rc.d
cat $CWD/rc.warvox > $PKG/etc/rc.d/rc.warvox.new
chmod 0755 $PKG/etc/rc.d/rc.warvox.new
-( 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
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc
mv $PKG/opt/warvox/docs $PKG/usr/doc/$PRGNAM-$VERSION