aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:31 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:31 -0400
commit85aa9b2b3b510553f72759a633699dfbfb1a8fd6 (patch)
treef90dada6fe13a1bf4a128d40f540b00bcd80b4c2 /academic
parent8e5990380a2328dc5b6d1cea9ad4b1341bd0beb3 (diff)
academic/grpn: Fixed for bash4.
Diffstat (limited to 'academic')
-rw-r--r--academic/grpn/grpn.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/grpn/grpn.SlackBuild b/academic/grpn/grpn.SlackBuild
index c307cf6cb78c7..77f7f43f5e206 100644
--- a/academic/grpn/grpn.SlackBuild
+++ b/academic/grpn/grpn.SlackBuild
@@ -46,12 +46,8 @@ find . \
make
make install PREFIX=$PKG/usr
-( 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 {} \;