Synched gist at Fri Mar 8 07:53:20 PST 2024

This commit is contained in:
Marco Cawthorne 2024-03-08 07:53:20 -08:00
parent d6b0dc1f34
commit d77f55a6b0
Signed by: eukara
GPG key ID: CE2032F0A2882A22

View file

@ -82,25 +82,25 @@ check_pak()
# dependencies: rewise
if [ ! -f ./rewise ]
then
# is this GNU?
if [ "$MAKEVER" = "GNU" ]
# detect if we have gmake, and the right version too.
if [ -x "$(command -v gmake)" ]
then
MAKETOOL="make"
else
# guess not, do we have gmake?
if [ -x "$(command -v gmake)" ]
MAKEVER=$(gmake --version | awk '{ print $1 }' | head -n 1)
if [ "$MAKEVER" = "GNU" ]
then
MAKEVER=$(gmake --version | awk '{ print $1 }' | head -n 1)
if [ "$MAKEVER" = "GNU" ]
then
MAKETOOL="gmake"
else
echo "Please install GNU Make."
exit 2
fi
MAKETOOL="gmake"
else
echo "Please install GNU Make."
exit 2
fi
fi
if [ -z "$MAKETOOL" ]
then
MAKETOOL=make
fi
BINDIR="$(pwd)"
git clone https://vcs.vera-visions.com/eukara/REWise
cd REWise