aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:14 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:14 -0400
commit95b34d384ba3cfe99609aea09a835eaccc7f5550 (patch)
treea2c172524d6802a9a6b6018cf8abaeea6113fc30
parenta052cdc723345cfd8745d9bb9cea4b83f4089167 (diff)
libraries/giblib: Fixed for bash4.
-rw-r--r--libraries/giblib/giblib.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/giblib/giblib.SlackBuild b/libraries/giblib/giblib.SlackBuild
index fae1fd0afd95c..8e60c7b508bd0 100644
--- a/libraries/giblib/giblib.SlackBuild
+++ b/libraries/giblib/giblib.SlackBuild
@@ -70,12 +70,8 @@ CXXFLAGS="$SLKCFLAGS" \
make || exit 1
make install DESTDIR=$PKG || exit 1
-( 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 {} \;