aboutsummaryrefslogtreecommitdiff
path: root/academic/octave-forge
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:42 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:42 -0400
commite8d33b306df673f9d779cf83a6fc89c088d336fb (patch)
tree27d72819e193c36e5c833f2aa413e44a2b6f234c /academic/octave-forge
parentf286c06908d004f136a323355867bb58a70ecfbf (diff)
academic/octave-forge: Fixed for bash4.
Diffstat (limited to 'academic/octave-forge')
-rw-r--r--academic/octave-forge/octave-forge.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/academic/octave-forge/octave-forge.SlackBuild b/academic/octave-forge/octave-forge.SlackBuild
index 26b17bf9f9ca0..baf780b56ad6a 100644
--- a/academic/octave-forge/octave-forge.SlackBuild
+++ b/academic/octave-forge/octave-forge.SlackBuild
@@ -97,10 +97,8 @@ octave --silent \
rm ll gl
)
-( 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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild