summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:26 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:26 -0400
commitf5f013840c7242933f548d75347d9b21f9d517eb (patch)
treeb17b32f77160fbf76a7d71c83f734f4f3a7c155a
parent5831a4dfaf673864377cb51404c50c0f06f713d2 (diff)
downloadslackbuilds-f5f013840c7242933f548d75347d9b21f9d517eb.tar.gz
network/gyachi: Fixed for bash4.
-rw-r--r--network/gyachi/gyachi.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/gyachi/gyachi.SlackBuild b/network/gyachi/gyachi.SlackBuild
index 8658a832df..0f5b6a133c 100644
--- a/network/gyachi/gyachi.SlackBuild
+++ b/network/gyachi/gyachi.SlackBuild
@@ -78,12 +78,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
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# --docdir / --htmldir are ignored
mv $PKG/usr/share/doc $PKG/usr/