summaryrefslogtreecommitdiffstats
path: root/network/choqok
diff options
context:
space:
mode:
author David Somero2010-05-19 08:42:25 +0200
committer David Somero2010-05-19 08:42:25 +0200
commita1c4a6feefb2be170e3afbb724addd1574946c79 (patch)
tree76715c5c4f836368d22edff1db0fcaaf2ca3dcf4 /network/choqok
parent3363521c125639257c8a5cd5a5aa0693a8ccb02b (diff)
downloadslackbuilds-a1c4a6feefb2be170e3afbb724addd1574946c79.tar.gz
network/choqok: Fixed for bash4.
Diffstat (limited to 'network/choqok')
-rw-r--r--network/choqok/choqok.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/choqok/choqok.SlackBuild b/network/choqok/choqok.SlackBuild
index c0fad3521b..daca9c8eaf 100644
--- a/network/choqok/choqok.SlackBuild
+++ b/network/choqok/choqok.SlackBuild
@@ -55,12 +55,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
-)
+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 \