summaryrefslogtreecommitdiff
path: root/desktop/recoll/recoll.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:13 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:13 -0400
commit4c390f4fc81dec67d9fca7ee93e0c4c29ad9f001 (patch)
tree97a62dbeaf15a083f846531266f06cc8467a546f /desktop/recoll/recoll.SlackBuild
parentb0aec5f9d340a839e1535769cb6fe6719db94b2a (diff)
downloadslackbuilds-4c390f4fc81dec67d9fca7ee93e0c4c29ad9f001.tar.gz
desktop/recoll: Fixed for bash4.
Diffstat (limited to 'desktop/recoll/recoll.SlackBuild')
-rw-r--r--desktop/recoll/recoll.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/recoll/recoll.SlackBuild b/desktop/recoll/recoll.SlackBuild
index a51bdcdd42..680fb2c00b 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 {} \;