summaryrefslogtreecommitdiff
path: root/libraries/libgig/libgig.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:26 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:26 -0400
commit16944c817bd99aa3b9f21d83232eefd8bbd03b90 (patch)
treec095e53f48b72a3f42c3ab5820a7b7deeb8d5ce1 /libraries/libgig/libgig.SlackBuild
parente31487531e53d0c6c83e1c222f8ef3ca42d5c760 (diff)
downloadslackbuilds-16944c817bd99aa3b9f21d83232eefd8bbd03b90.tar.gz
libraries/libgig: Fixed for bash4.
Diffstat (limited to 'libraries/libgig/libgig.SlackBuild')
-rw-r--r--libraries/libgig/libgig.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libgig/libgig.SlackBuild b/libraries/libgig/libgig.SlackBuild
index 08185f625c..75de8a1e89 100644
--- a/libraries/libgig/libgig.SlackBuild
+++ b/libraries/libgig/libgig.SlackBuild
@@ -53,12 +53,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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;