diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:39:05 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:39:05 -0400 |
commit | e360b555c7ca05c099841363d2d3e6872fbd1b9d (patch) | |
tree | a58aee1696d55dfcd4cf509a8d66b7c718fe5d0a /libraries | |
parent | 58b432a41a9a72a78840c1fa334fe85e4c1e440f (diff) | |
download | slackbuilds-e360b555c7ca05c099841363d2d3e6872fbd1b9d.tar.gz |
libraries/pygame: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/pygame/pygame.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/pygame/pygame.SlackBuild b/libraries/pygame/pygame.SlackBuild index c51bfac1b1..c2c476b978 100644 --- a/libraries/pygame/pygame.SlackBuild +++ b/libraries/pygame/pygame.SlackBuild @@ -29,12 +29,8 @@ chmod -R u+w,go+r-w,a-s . python -u config.py || exit 1 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 - 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/$NAME-$VERSION cp -a PKG-INFO WHATSNEW install.html readme.txt docs/* examples \ |