summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:25 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:25 -0400
commit5b9640766305e2f11fc34b01c5fe596aed27f149 (patch)
treef7bd3f18a8b7e654165c3d589f619fb58a2a8006 /development
parent16b885de1c4546d39ea68c473b6d602399b0fcce (diff)
downloadslackbuilds-5b9640766305e2f11fc34b01c5fe596aed27f149.tar.gz
development/cppunit: Fixed for bash4.
Diffstat (limited to 'development')
-rw-r--r--development/cppunit/cppunit.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/cppunit/cppunit.SlackBuild b/development/cppunit/cppunit.SlackBuild
index 19fe40fbaa..db7416b084 100644
--- a/development/cppunit/cppunit.SlackBuild
+++ b/development/cppunit/cppunit.SlackBuild
@@ -58,12 +58,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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;