multimedia/GoogleEarth: Fixed for bash4.

This commit is contained in:
David Somero 2010-05-19 02:40:26 -04:00
parent 5cac3eaea9
commit e04d6002c8

View file

@ -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