summaryrefslogtreecommitdiff
path: root/libraries/libgtop/libgtop.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:31 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:31 -0400
commit8533a0baf42bb5d67a52b434926ac287be1443db (patch)
treeb5745031bfa80253afc354e4766930595cfcff9a /libraries/libgtop/libgtop.SlackBuild
parentdab15419428cb18a8c9b35929eab28e47b557ecc (diff)
downloadslackbuilds-8533a0baf42bb5d67a52b434926ac287be1443db.tar.gz
libraries/libgtop: Fixed for bash4.
Diffstat (limited to 'libraries/libgtop/libgtop.SlackBuild')
-rw-r--r--libraries/libgtop/libgtop.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/libgtop/libgtop.SlackBuild b/libraries/libgtop/libgtop.SlackBuild
index a74830b181..9eeec226c4 100644
--- a/libraries/libgtop/libgtop.SlackBuild
+++ b/libraries/libgtop/libgtop.SlackBuild
@@ -77,10 +77,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
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*