aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:54 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:54 -0400
commit12d8686f27a0a1451bfaf98e503c41165bd81885 (patch)
tree104807685fb0b255b356304ac4b863ecc075bcf8
parent1cba6152780ceec72b0ffc970e8cbb69d477b472 (diff)
multimedia/hexter: Fixed for bash4.
-rw-r--r--multimedia/hexter/hexter.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/hexter/hexter.SlackBuild b/multimedia/hexter/hexter.SlackBuild
index 9d249d6cc5209..ecd5136a95033 100644
--- a/multimedia/hexter/hexter.SlackBuild
+++ b/multimedia/hexter/hexter.SlackBuild
@@ -51,12 +51,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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 || true
-)
+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/$PRGNAM-$VERSION
cp -a \