aboutsummaryrefslogtreecommitdiff
path: root/libraries/libnids
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:50 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:50 -0400
commit50addf1c8c1aab6ca296d956fef166d3a038ecca (patch)
tree351f9cb51dd1750ebd81c6cfe0919307da3b12e1 /libraries/libnids
parent1cc1958fedf8b3161b2e87a51317c5c3dcb7ebb9 (diff)
libraries/libnids: Fixed for bash4.
Diffstat (limited to 'libraries/libnids')
-rw-r--r--libraries/libnids/libnids.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libnids/libnids.SlackBuild b/libraries/libnids/libnids.SlackBuild
index 534ec8f45c91..d9e446ac28e2 100644
--- a/libraries/libnids/libnids.SlackBuild
+++ b/libraries/libnids/libnids.SlackBuild
@@ -72,12 +72,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install install_prefix=$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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;