summaryrefslogtreecommitdiffstats
path: root/multimedia/GoogleEarth
diff options
context:
space:
mode:
author David Somero2010-05-19 08:40:26 +0200
committer David Somero2010-05-19 08:40:26 +0200
commite04d6002c8fec2bc7f75b2a6baf02afc27860d15 (patch)
tree17854d9000691782e12824b80fe7c85a8a314b73 /multimedia/GoogleEarth
parent5cac3eaea92a4e3a28d61dadc4c31a22bb4f254b (diff)
downloadslackbuilds-e04d6002c8fec2bc7f75b2a6baf02afc27860d15.tar.gz
multimedia/GoogleEarth: Fixed for bash4.
Diffstat (limited to 'multimedia/GoogleEarth')
-rw-r--r--multimedia/GoogleEarth/GoogleEarth.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/GoogleEarth/GoogleEarth.SlackBuild b/multimedia/GoogleEarth/GoogleEarth.SlackBuild
index 44e3574253..00f7b6ae67 100644
--- a/multimedia/GoogleEarth/GoogleEarth.SlackBuild
+++ b/multimedia/GoogleEarth/GoogleEarth.SlackBuild
@@ -66,12 +66,8 @@ find . \( -name "*.png" -o -name "*.kml" -o -name "*.xml" \) \
mv $PKG/opt/$PRGNAM/bin/googleearth $PKG/opt/$PRGNAM
rmdir $PKG/opt/$PRGNAM/bin
-( 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
# Let's use the information from the included postinstall.sh
# script to create menu entry and mime stuff