diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:30:29 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:30:29 -0400 |
commit | e1c66d268fb129d6ac53f8f81efafc8956754685 (patch) | |
tree | 20bc80cd502fd8d2ab0934bb490e9406d19f9ef4 /academic/glpk/glpk.SlackBuild | |
parent | 85f2dab88fca7152a3c97ed580151e7d3f406076 (diff) |
academic/glpk: Fixed for bash4.
Diffstat (limited to 'academic/glpk/glpk.SlackBuild')
-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 a3b6b2c57382..25947c43293c 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 |