diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:32:13 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:32:13 -0400 |
commit | 4c390f4fc81dec67d9fca7ee93e0c4c29ad9f001 (patch) | |
tree | 97a62dbeaf15a083f846531266f06cc8467a546f | |
parent | b0aec5f9d340a839e1535769cb6fe6719db94b2a (diff) |
desktop/recoll: Fixed for bash4.
-rw-r--r-- | desktop/recoll/recoll.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/recoll/recoll.SlackBuild b/desktop/recoll/recoll.SlackBuild index a51bdcdd4266f..680fb2c00b050 100644 --- a/desktop/recoll/recoll.SlackBuild +++ b/desktop/recoll/recoll.SlackBuild @@ -69,12 +69,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 - 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 -name "*.?" -exec gzip -9 {} \; |