academic/glpk: Fixed for bash4.
This commit is contained in:
parent
85f2dab88f
commit
e1c66d268f
|
@ -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,
|
# A file in the $PKG/usr/doc/$PRGNAM-$VERSION can be stripped,
|
||||||
# so we strip here, rather than immediately after make install.
|
# so we strip here, rather than immediately after make install.
|
||||||
( cd $PKG
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
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
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
Loading…
Reference in New Issue