aboutsummaryrefslogtreecommitdiff
path: root/network/warvox
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:26 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:26 -0400
commit1c87164669f91e1c568620b2da3ddc219a1dbbbb (patch)
tree08c4514ba294b961d0fef2f45bffeb3d8b90924d /network/warvox
parent2263b02abba0c957a19d50abcc905ce562741f9b (diff)
network/warvox: Fixed for bash4.
Diffstat (limited to 'network/warvox')
-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 7d6a5b1cd68a..7a8494d3c92a 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