aboutsummaryrefslogtreecommitdiff
path: root/system/ibam
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:18 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:18 -0400
commit0988c258c5ed6abf7567b724e5e00790d3bbd0bf (patch)
tree76119dff444185cd59fe9caf4fe8a14a7bcda75f /system/ibam
parent75fc9dc007c869a377d2471d8a2bfdeb462ffdd5 (diff)
system/ibam: Fixed for bash4.
Diffstat (limited to 'system/ibam')
-rw-r--r--system/ibam/ibam.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/ibam/ibam.SlackBuild b/system/ibam/ibam.SlackBuild
index ad5f0b1015b2d..390bddbc54393 100644
--- a/system/ibam/ibam.SlackBuild
+++ b/system/ibam/ibam.SlackBuild
@@ -66,12 +66,8 @@ CFLAGS="$SLKCFLAGS" make
# need to worry about $LIBDIRSUFFIX
install -D -m 0755 $PRGNAM $PKG/usr/bin/$PRGNAM
-( 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 || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# There's no manpages
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION