summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:12 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:12 -0400
commit8e415898dd075d7af0e702d98714ba2a1bcc1fcb (patch)
tree899665aed7b9be054a2b0232d3e0876df9daa2c2
parentb487a2e158abc7faf573724ff76fbf319ebb3bcd (diff)
downloadslackbuilds-8e415898dd075d7af0e702d98714ba2a1bcc1fcb.tar.gz
slackbuilds-8e415898dd075d7af0e702d98714ba2a1bcc1fcb.tar.xz
graphics/scantailor: Fixed for bash4.
-rwxr-xr-xgraphics/scantailor/scantailor.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/scantailor/scantailor.SlackBuild b/graphics/scantailor/scantailor.SlackBuild
index fb072bdb94..7032b5b139 100755
--- a/graphics/scantailor/scantailor.SlackBuild
+++ b/graphics/scantailor/scantailor.SlackBuild
@@ -54,8 +54,8 @@ cd build
make install DESTDIR=$PKG
cd ..
-find $PKG | xargs file | grep "executable" | 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \