aboutsummaryrefslogtreecommitdiff
path: root/libraries/opal
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:29 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:29 -0400
commit68757025f3574351b8aae8bef948e46d9498334a (patch)
tree977458b79d498573843ad9cafd66bb411cd2f3c7 /libraries/opal
parent00b64f1cb07fe303a03032e17585a289f54bf624 (diff)
libraries/opal: Fixed for bash4.
Diffstat (limited to 'libraries/opal')
-rw-r--r--libraries/opal/opal.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/opal/opal.SlackBuild b/libraries/opal/opal.SlackBuild
index c9710bb403ea..dac5b1e9dd67 100644
--- a/libraries/opal/opal.SlackBuild
+++ b/libraries/opal/opal.SlackBuild
@@ -85,12 +85,8 @@ make install DESTDIR=$PKG
# Remove static library
rm $PKG/usr/lib${LIBDIRSUFFIX}/libopal_s.a
-( 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 Change* mpl-1.0.htm docs/* $PKG/usr/doc/$PRGNAM-$VERSION