From 006789261482ef7c73851cdb96cb28589ca39715 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:39:20 -0400 Subject: libraries/pyusb: Fixed for bash4. --- libraries/pyusb/pyusb.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libraries') diff --git a/libraries/pyusb/pyusb.SlackBuild b/libraries/pyusb/pyusb.SlackBuild index 2a3f8973087a..a228dd632fff 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 -- cgit v1.2.3