diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:33:15 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:33:15 -0400 |
commit | b3dede58e110dee3dcb722ac0de4c605a270fd74 (patch) | |
tree | fbcded2117219ee16b83987e3e5337bfd55d9764 | |
parent | 80bab10836d2b85854c2d365199ef9d666d6112b (diff) | |
download | slackbuilds-b3dede58e110dee3dcb722ac0de4c605a270fd74.tar.gz |
development/avr-binutils: Fixed for bash4.
-rw-r--r-- | development/avr-binutils/avr-binutils.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/development/avr-binutils/avr-binutils.SlackBuild b/development/avr-binutils/avr-binutils.SlackBuild index 0c705b1453..3c9fa17d1b 100644 --- a/development/avr-binutils/avr-binutils.SlackBuild +++ b/development/avr-binutils/avr-binutils.SlackBuild @@ -70,12 +70,8 @@ rm -f $PKG/usr/man/man1/avr-dlltool.1 rm -f $PKG/usr/man/man1/avr-nlmconv.1 rm -f $PKG/usr/man/man1/avr-windres.1 -( 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 ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; |