summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:32 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:32 -0400
commit52a130d4715a636ef8285f662497317912fade57 (patch)
tree68ffe66c2b4396a20e6202b096acab64473a15b6
parentb2c0044f5020ed4ff35b25a90b8176f7438dd9f6 (diff)
downloadslackbuilds-52a130d4715a636ef8285f662497317912fade57.tar.gz
network/cryptcat-unix: Fixed for bash4.
-rw-r--r--network/cryptcat-unix/cryptcat-unix.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/cryptcat-unix/cryptcat-unix.SlackBuild b/network/cryptcat-unix/cryptcat-unix.SlackBuild
index 881d051194..62002999ee 100644
--- a/network/cryptcat-unix/cryptcat-unix.SlackBuild
+++ b/network/cryptcat-unix/cryptcat-unix.SlackBuild
@@ -63,12 +63,8 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-( 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
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}