diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:35:33 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:35:33 -0400 |
commit | 5975daa06b3e1c2486e7992adf5eb6e23f30f40f (patch) | |
tree | 72fe69323f50cf2e96955b10375c21501bb095d1 /libraries | |
parent | 4cb9101e5e2a232d049a0139d786c7d593d97e6b (diff) | |
download | slackbuilds-5975daa06b3e1c2486e7992adf5eb6e23f30f40f.tar.gz |
libraries/QuantLib: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/QuantLib/QuantLib.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/QuantLib/QuantLib.SlackBuild b/libraries/QuantLib/QuantLib.SlackBuild index b8b588596d..96920952ec 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 {} \; |