aboutsummaryrefslogtreecommitdiff
path: root/network/SocksiPy
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:50 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:50 -0400
commita5adc8424eb5b5be902767cee0c7831500d6dee0 (patch)
tree6b262129b60664129e65aa9cd8299678c9209c9a /network/SocksiPy
parentd9c47a51de9b929c41d09be06e605297910cb553 (diff)
network/SocksiPy: Fixed for bash4.
Diffstat (limited to 'network/SocksiPy')
-rw-r--r--network/SocksiPy/SocksiPy.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/SocksiPy/SocksiPy.SlackBuild b/network/SocksiPy/SocksiPy.SlackBuild
index 9be669cb6e8a1..6ace6ebecd5cb 100644
--- a/network/SocksiPy/SocksiPy.SlackBuild
+++ b/network/SocksiPy/SocksiPy.SlackBuild
@@ -55,12 +55,8 @@ cat $CWD/setup.py > setup.py
python setup.py install --root=$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 LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION