summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:56 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:56 -0400
commit240383971c46936d3d494d9685a92649472684db (patch)
tree99bd37c1b039705c2799ec047f3f72e41eab6b2a
parent91b7095dfab6e921c847d69c646935aac2efda91 (diff)
downloadslackbuilds-240383971c46936d3d494d9685a92649472684db.tar.gz
multimedia/k9copy: Fixed for bash4.
-rw-r--r--multimedia/k9copy/k9copy.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/k9copy/k9copy.SlackBuild b/multimedia/k9copy/k9copy.SlackBuild
index dc63eaf928..83ee6855c3 100644
--- a/multimedia/k9copy/k9copy.SlackBuild
+++ b/multimedia/k9copy/k9copy.SlackBuild
@@ -77,12 +77,8 @@ 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 COPYING README $PKG/usr/doc/$PRGNAM-$VERSION