diff options
-rw-r--r-- | academic/octave-forge/octave-forge.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/academic/octave-forge/octave-forge.SlackBuild b/academic/octave-forge/octave-forge.SlackBuild index 26b17bf9f9..baf780b56a 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 |