network/elinks: Fixed for bash4.

This commit is contained in:
David Somero 2010-05-19 02:42:54 -04:00
parent e90f51e496
commit 842a1ea413

View file

@ -71,12 +71,8 @@ rm -f $PKG/usr/share/locale/locale.alias
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
( 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
# Move man pages to their proper location.
mv $PKG/usr/share/man $PKG/usr