diff options
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 |
commit | 14b54517aaf28dae1e1a85eba3899ee036706d28 (patch) | |
tree | 89dc8f80023807c8be1c78b7eba4db7e8185a1ab /network/ctorrent | |
parent | 52a130d4715a636ef8285f662497317912fade57 (diff) |
network/ctorrent: Fixed for bash4.
Diffstat (limited to 'network/ctorrent')
-rw-r--r-- | network/ctorrent/ctorrent.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/ctorrent/ctorrent.SlackBuild b/network/ctorrent/ctorrent.SlackBuild index d8854f728bb50..87685d7704e59 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 |