summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:22 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:22 -0400
commitf27578017f896b6214ab9710aaf2f5a72c3dd75d (patch)
tree48afc4cb11efe48bca701a68d55f6a44fc28e3f7
parentc5a0f73626287b792c86229ad4bcf85dbfade755 (diff)
downloadslackbuilds-f27578017f896b6214ab9710aaf2f5a72c3dd75d.tar.gz
development/cim: Fixed for bash4.
-rw-r--r--development/cim/cim.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/cim/cim.SlackBuild b/development/cim/cim.SlackBuild
index 0a38bf7e54..0cc4ce4a2a 100644
--- a/development/cim/cim.SlackBuild
+++ b/development/cim/cim.SlackBuild
@@ -71,12 +71,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 {} \;