summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:40 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:40 -0400
commitf8c8d6240b9a2d22c56bb4fe6fca8aa791eb4a64 (patch)
tree752de62ee86dfa51902c7cdd3f2946d8adaa2e9e
parent8bda44bbebd832fe67378d662d6892386a482799 (diff)
downloadslackbuilds-f8c8d6240b9a2d22c56bb4fe6fca8aa791eb4a64.tar.gz
libraries/avr-libc: Fixed for bash4.
-rw-r--r--libraries/avr-libc/avr-libc.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/avr-libc/avr-libc.SlackBuild b/libraries/avr-libc/avr-libc.SlackBuild
index 557dc21e19..a8a40b94e3 100644
--- a/libraries/avr-libc/avr-libc.SlackBuild
+++ b/libraries/avr-libc/avr-libc.SlackBuild
@@ -57,12 +57,8 @@ CFLAGS="$SLKCFLAGS" \
make || exit 1
make install DESTDIR=$PKG || exit 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
mkdir -p $PKG/usr/doc/