summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author David Somero2010-05-19 08:34:44 +0200
committer David Somero2010-05-19 08:34:44 +0200
commit94198b4234e22f5a5f0b54496c94906c958a5798 (patch)
tree7418ad1ac65ad15df0d8870ad42471341b244131 /games
parentb77b9e3ea2860a1050a4f88d1f43f237168a265b (diff)
downloadslackbuilds-94198b4234e22f5a5f0b54496c94906c958a5798.tar.gz
games/torcs: Fixed for bash4.
Diffstat (limited to 'games')
-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 29e6bf0143..b19923afc7 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