aboutsummaryrefslogtreecommitdiff
path: root/development/gputils
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:33 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:33 -0400
commitefdd07a690414978b9fb96bad4468152b7c23796 (patch)
treee9abc11d38d235b2dece8e1168f5dc5a62bdffeb /development/gputils
parent4b2835bdd2917c89b12c8ec161166a0922aaabdc (diff)
development/gputils: Fixed for bash4.
Diffstat (limited to 'development/gputils')
-rw-r--r--development/gputils/gputils.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/gputils/gputils.SlackBuild b/development/gputils/gputils.SlackBuild
index a251bbf410f8..332b2ba002c1 100644
--- a/development/gputils/gputils.SlackBuild
+++ b/development/gputils/gputils.SlackBuild
@@ -45,12 +45,8 @@ CFLAGS="$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 {} \;