summaryrefslogtreecommitdiffstats
path: root/network/ctorrent/ctorrent.SlackBuild
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:34 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:34 -0400
commit14b54517aaf28dae1e1a85eba3899ee036706d28 (patch)
tree89dc8f80023807c8be1c78b7eba4db7e8185a1ab /network/ctorrent/ctorrent.SlackBuild
parent52a130d4715a636ef8285f662497317912fade57 (diff)
downloadslackbuilds-14b54517aaf28dae1e1a85eba3899ee036706d28.tar.gz
slackbuilds-14b54517aaf28dae1e1a85eba3899ee036706d28.tar.xz
network/ctorrent: Fixed for bash4.
Diffstat (limited to 'network/ctorrent/ctorrent.SlackBuild')
-rw-r--r--network/ctorrent/ctorrent.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/ctorrent/ctorrent.SlackBuild b/network/ctorrent/ctorrent.SlackBuild
index d8854f728b..87685d7704 100644
--- a/network/ctorrent/ctorrent.SlackBuild
+++ b/network/ctorrent/ctorrent.SlackBuild
@@ -83,12 +83,8 @@ cp -a $DOCS $PKG/usr/doc/$PRGNAM-$PKGVERSION || true
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVERSION/$PRGNAM.SlackBuild
# Strip binaries
-( 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
# Add the slack-desc:
mkdir -p $PKG/install