diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:38:53 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:38:53 -0400 |
commit | cc52296da5e56156a6cf4db69ec25c202e37a26e (patch) | |
tree | 90dd7fdacfdf68713f60923ad91503ebdf1da3cc /libraries | |
parent | a327d906e5c4b32e6a94fa77150ec99dd765e840 (diff) |
libraries/physfs: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/physfs/physfs.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/physfs/physfs.SlackBuild b/libraries/physfs/physfs.SlackBuild index c6aaf8cb0338..8fa100fdbcd7 100644 --- a/libraries/physfs/physfs.SlackBuild +++ b/libraries/physfs/physfs.SlackBuild @@ -67,12 +67,8 @@ cmake \ make || exit 1 make install DESTDIR=$PKG || exit 1 -( 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 CHANGELOG.txt CREDITS.txt INSTALL.txt LICENSE.txt TODO.txt \ |