summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:58 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:58 -0400
commit683591a487bf94bd08d0a2f7eb7d10c95f2d90cb (patch)
tree03e2300b7e70e7bacf7744fac612504e7c9f7cfa
parent6d440b92178d4c1ffd16ddf8159c2344e9dc25ef (diff)
downloadslackbuilds-683591a487bf94bd08d0a2f7eb7d10c95f2d90cb.tar.gz
office/calcurse: Fixed for bash4.
-rw-r--r--office/calcurse/calcurse.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/office/calcurse/calcurse.SlackBuild b/office/calcurse/calcurse.SlackBuild
index ea05759132..e3f557c11e 100644
--- a/office/calcurse/calcurse.SlackBuild
+++ b/office/calcurse/calcurse.SlackBuild
@@ -74,12 +74,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip 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 {} \;