aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:53 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:53 -0400
commitcc52296da5e56156a6cf4db69ec25c202e37a26e (patch)
tree90dd7fdacfdf68713f60923ad91503ebdf1da3cc /libraries
parenta327d906e5c4b32e6a94fa77150ec99dd765e840 (diff)
libraries/physfs: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/physfs/physfs.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/physfs/physfs.SlackBuild b/libraries/physfs/physfs.SlackBuild
index c6aaf8cb03387..8fa100fdbcd77 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 \