aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmimic
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:43 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:43 -0400
commitbe44743d1586951e418cd3c9e8f0fd79841da80a (patch)
treece62ba4441094458132f471eeaaaf37e1c63e941 /libraries/libmimic
parent9ce68d494cb029e5674c4712b1a4468b12b2e396 (diff)
libraries/libmimic: Fixed for bash4.
Diffstat (limited to 'libraries/libmimic')
-rw-r--r--libraries/libmimic/libmimic.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libmimic/libmimic.SlackBuild b/libraries/libmimic/libmimic.SlackBuild
index 44bd69153eee..52c4bbc639ba 100644
--- a/libraries/libmimic/libmimic.SlackBuild
+++ b/libraries/libmimic/libmimic.SlackBuild
@@ -72,12 +72,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \