aboutsummaryrefslogtreecommitdiff
path: root/games/glest-data
diff options
context:
space:
mode:
Diffstat (limited to 'games/glest-data')
-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 {} \;