aboutsummaryrefslogtreecommitdiff
path: root/libraries/QuantLib
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:33 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:33 -0400
commit5975daa06b3e1c2486e7992adf5eb6e23f30f40f (patch)
tree72fe69323f50cf2e96955b10375c21501bb095d1 /libraries/QuantLib
parent4cb9101e5e2a232d049a0139d786c7d593d97e6b (diff)
libraries/QuantLib: Fixed for bash4.
Diffstat (limited to 'libraries/QuantLib')
-rw-r--r--libraries/QuantLib/QuantLib.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/QuantLib/QuantLib.SlackBuild b/libraries/QuantLib/QuantLib.SlackBuild
index b8b588596da8..96920952ecf0 100644
--- a/libraries/QuantLib/QuantLib.SlackBuild
+++ b/libraries/QuantLib/QuantLib.SlackBuild
@@ -54,12 +54,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 {} \;