aboutsummaryrefslogtreecommitdiff
path: root/development/avr-binutils
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:15 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:15 -0400
commitb3dede58e110dee3dcb722ac0de4c605a270fd74 (patch)
treefbcded2117219ee16b83987e3e5337bfd55d9764 /development/avr-binutils
parent80bab10836d2b85854c2d365199ef9d666d6112b (diff)
development/avr-binutils: Fixed for bash4.
Diffstat (limited to 'development/avr-binutils')
-rw-r--r--development/avr-binutils/avr-binutils.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/avr-binutils/avr-binutils.SlackBuild b/development/avr-binutils/avr-binutils.SlackBuild
index 0c705b1453a77..3c9fa17d1b485 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 {} \;