aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:44 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:44 -0400
commit94198b4234e22f5a5f0b54496c94906c958a5798 (patch)
tree7418ad1ac65ad15df0d8870ad42471341b244131
parentb77b9e3ea2860a1050a4f88d1f43f237168a265b (diff)
games/torcs: Fixed for bash4.
-rw-r--r--games/torcs/torcs.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/torcs/torcs.SlackBuild b/games/torcs/torcs.SlackBuild
index 29e6bf0143bbf..b19923afc73ba 100644
--- a/games/torcs/torcs.SlackBuild
+++ b/games/torcs/torcs.SlackBuild
@@ -55,12 +55,8 @@ make datainstall DESTDIR=$PKG
# For some reason `make install' creates all the dirs 0777
find $PKG -type d | xargs chmod 0755
-( 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
# Tenemos una pagina de man en espanol...
mkdir -p $PKG/usr/man/man6 $PKG/usr/man/es/man6