summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:51 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:51 -0400
commit2aeb3851e1c0857b20c411af4c49321c2ecc998d (patch)
tree1dadcbe794bce0758a610aeb2b7ede270ff2351c
parent3dbab87f94fb815176233cbf44b6d7b4e2a983ef (diff)
downloadslackbuilds-2aeb3851e1c0857b20c411af4c49321c2ecc998d.tar.gz
graphics/digikam: Fixed for bash4.
-rw-r--r--graphics/digikam/digikam.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/digikam/digikam.SlackBuild b/graphics/digikam/digikam.SlackBuild
index 88961ea04b..1f9a22d804 100644
--- a/graphics/digikam/digikam.SlackBuild
+++ b/graphics/digikam/digikam.SlackBuild
@@ -73,12 +73,8 @@ cmake ..\
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 || true
-)
+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 {} \;