games/glest-data: Fixed for bash4.
This commit is contained in:
parent
e631b00a9f
commit
2948d81418
|
@ -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 {} \;
|
||||
|
|
Loading…
Reference in New Issue