aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:29 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:29 -0400
commit2948d81418627b3ac763321936d77a5e779b33d0 (patch)
tree3e22355caa0a87c983356db67714d147e3e34b98 /games
parente631b00a9fce5c1b8331c973d50d3ffb87705827 (diff)
games/glest-data: Fixed for bash4.
Diffstat (limited to 'games')
-rw-r--r--games/glest-data/glest-data.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/glest-data/glest-data.SlackBuild b/games/glest-data/glest-data.SlackBuild
index 10f40ecd3b37f..15b1db41896ff 100644
--- a/games/glest-data/glest-data.SlackBuild
+++ b/games/glest-data/glest-data.SlackBuild
@@ -36,12 +36,8 @@ mkdir -p $PKG/usr/share/glest
cp -ar data maps scenarios techs tilesets servers.ini $PKG/usr/share/glest
install -m 0644 $CWD/langs/*.lng $PKG/usr/share/glest/data/lang/
-( 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
# Remove unnecessary files.
find $PKG -name 'Thumbs.db' -exec rm {} \;