diff options
Diffstat (limited to 'academic/glpk')
-rw-r--r-- | academic/glpk/glpk.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/glpk/glpk.SlackBuild b/academic/glpk/glpk.SlackBuild index a3b6b2c573..25947c4329 100644 --- a/academic/glpk/glpk.SlackBuild +++ b/academic/glpk/glpk.SlackBuild @@ -61,12 +61,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # A file in the $PKG/usr/doc/$PRGNAM-$VERSION can be stripped, # so we strip here, rather than immediately after make install. -( 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/install cat $CWD/slack-desc > $PKG/install/slack-desc |