diff options
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 |
commit | 006789261482ef7c73851cdb96cb28589ca39715 (patch) | |
tree | 9a39710c2e58a369b5b4d5d86b7ab560432bfb57 | |
parent | eb3f7ac45cfeff9d90da11cb3bf858e63d7f8214 (diff) |
libraries/pyusb: Fixed for bash4.
-rw-r--r-- | libraries/pyusb/pyusb.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/pyusb/pyusb.SlackBuild b/libraries/pyusb/pyusb.SlackBuild index 2a3f8973087a5..a228dd632fffe 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 |