summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero2010-05-19 08:35:01 +0200
committer David Somero2010-05-19 08:35:01 +0200
commit44ee3234fbdd271487c40e36c07ebb435cac9aa1 (patch)
treeed49ad04131b443df9fed61f9cd7afec0f1384d2
parent4eebbb6e892997af6612fa1b2e68e9f6b66669e0 (diff)
downloadslackbuilds-44ee3234fbdd271487c40e36c07ebb435cac9aa1.tar.gz
graphics/kipi-plugins: Fixed for bash4.
-rw-r--r--graphics/kipi-plugins/kipi-plugins.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/kipi-plugins/kipi-plugins.SlackBuild b/graphics/kipi-plugins/kipi-plugins.SlackBuild
index 913edad2a3..191aae9397 100644
--- a/graphics/kipi-plugins/kipi-plugins.SlackBuild
+++ b/graphics/kipi-plugins/kipi-plugins.SlackBuild
@@ -75,12 +75,8 @@ mkdir build && cd build
make install DESTDIR=$PKG
cd -
-( 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING* HACKING INSTALL NEWS README tips TODO \