summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:31 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:31 -0400
commit0950d58f6317ac0a0a99e8138063d91d2459909c (patch)
tree053a10084643c0b48075a6c56c38a380a92fe204 /network
parent6eafee95735ab8d01b5570b84ad08b8a52c7c6ec (diff)
downloadslackbuilds-0950d58f6317ac0a0a99e8138063d91d2459909c.tar.gz
network/proxychains: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r--network/proxychains/proxychains.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/proxychains/proxychains.SlackBuild b/network/proxychains/proxychains.SlackBuild
index 3e626cf879..34ec2e893d 100644
--- a/network/proxychains/proxychains.SlackBuild
+++ b/network/proxychains/proxychains.SlackBuild
@@ -57,12 +57,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION