summaryrefslogtreecommitdiff
path: root/games/pcsxr/pcsxr.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:37 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:37 -0400
commita67ff08e8d6a47997412e0d243ebed985b185942 (patch)
tree4adc27da547ceeec78e5850d1c257b9244fdab0a /games/pcsxr/pcsxr.SlackBuild
parentc7933f4d9d426731eeeb0058972bfa70937c26bf (diff)
downloadslackbuilds-a67ff08e8d6a47997412e0d243ebed985b185942.tar.gz
games/pcsxr: Fixed for bash4.
Diffstat (limited to 'games/pcsxr/pcsxr.SlackBuild')
-rw-r--r--games/pcsxr/pcsxr.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/pcsxr/pcsxr.SlackBuild b/games/pcsxr/pcsxr.SlackBuild
index 9c93a9b9e4..5d1a9d5895 100644
--- a/games/pcsxr/pcsxr.SlackBuild
+++ b/games/pcsxr/pcsxr.SlackBuild
@@ -58,12 +58,8 @@ make install DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*.?
-( 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 AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION