libraries/perl-digest-sha1: Fixed for bash4.

This commit is contained in:
David Somero 2010-05-19 02:38:46 -04:00
parent ccac84288d
commit 0767af84d5

View file

@ -82,10 +82,8 @@ mv $PKG/usr/share/man $PKG/usr/
find $PKG -depth -type d -empty -exec rm -rf {} \;
# strip libraries
( cd $PKG
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
# compress man pages
( cd $PKG/usr/man