From e1c66d268fb129d6ac53f8f81efafc8956754685 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:30:29 -0400 Subject: [PATCH] academic/glpk: Fixed for bash4. --- academic/glpk/glpk.SlackBuild | 8 ++------ 1 file 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