summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:20 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:20 -0400
commit006789261482ef7c73851cdb96cb28589ca39715 (patch)
tree9a39710c2e58a369b5b4d5d86b7ab560432bfb57 /libraries
parenteb3f7ac45cfeff9d90da11cb3bf858e63d7f8214 (diff)
downloadslackbuilds-006789261482ef7c73851cdb96cb28589ca39715.tar.gz
slackbuilds-006789261482ef7c73851cdb96cb28589ca39715.tar.xz
libraries/pyusb: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/pyusb/pyusb.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/pyusb/pyusb.SlackBuild b/libraries/pyusb/pyusb.SlackBuild
index 2a3f897308..a228dd632f 100644
--- a/libraries/pyusb/pyusb.SlackBuild
+++ b/libraries/pyusb/pyusb.SlackBuild
@@ -46,12 +46,8 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
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 || 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
# Normalize line endings
sed -i "s/\xd$//g" README