summaryrefslogtreecommitdiff
path: root/development/openmpi/openmpi.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:49 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:49 -0400
commit1f82b537754872f0f29cec0cb10ed0651d15d2fd (patch)
treefe7e13878c816f7632822edc3369dc715b3c92dd /development/openmpi/openmpi.SlackBuild
parent0eaaaaee93b64d208d200d70875c77f49e1bad7c (diff)
downloadslackbuilds-1f82b537754872f0f29cec0cb10ed0651d15d2fd.tar.gz
development/openmpi: Fixed for bash4.
Diffstat (limited to 'development/openmpi/openmpi.SlackBuild')
-rw-r--r--development/openmpi/openmpi.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/openmpi/openmpi.SlackBuild b/development/openmpi/openmpi.SlackBuild
index 985694cb6c..1409cacb8a 100644
--- a/development/openmpi/openmpi.SlackBuild
+++ b/development/openmpi/openmpi.SlackBuild
@@ -73,12 +73,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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;