aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:51 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:51 -0400
commit02a0beee9cd8d3e403cf1b3c862250bd378aa845 (patch)
tree24894e57273beba630fb00615b2638bbafe88dab /academic
parentbc54c83ee3b48a7bbbfb8044e3eddc688ff0261a (diff)
academic/speedcrunch: Fixed for bash4.
Diffstat (limited to 'academic')
-rw-r--r--academic/speedcrunch/speedcrunch.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/speedcrunch/speedcrunch.SlackBuild b/academic/speedcrunch/speedcrunch.SlackBuild
index df496abe6a9a6..9e7366166a36a 100644
--- a/academic/speedcrunch/speedcrunch.SlackBuild
+++ b/academic/speedcrunch/speedcrunch.SlackBuild
@@ -55,12 +55,8 @@ mkdir build && cd build
make install DESTDIR=$PKG
cd -
-( 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/$PRGNAM-$VERSION
cp -a ChangeLog* COPYING HACKING.txt INSTALL.txt LISEZMOI PACKAGERS \