aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:37 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:37 -0400
commit9f589a578af8ed054b90c0f95dce8a9c34c04cb3 (patch)
treebafda6705b4315b399d5c8b65898c7ed023cc0cd
parent661f58173949297709d89bbaca63bc3458d10d17 (diff)
development/ht: Fixed for bash4.
-rw-r--r--development/ht/ht.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/ht/ht.SlackBuild b/development/ht/ht.SlackBuild
index eec20dce91f2..103d5d45f913 100644
--- a/development/ht/ht.SlackBuild
+++ b/development/ht/ht.SlackBuild
@@ -52,12 +52,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
DOCS="AUTHORS COPYING ChangeLog INSTALL KNOWNBUGS NEWS README TODO"