mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 23:09:18 +02:00
Fix error in last commit opthandled -> opt_handled; Add FORCEAWK option to overrule AWK found in Makefile
git-svn-id: trunk@31827 -
This commit is contained in:
parent
33986a03d3
commit
938c797a0d
@ -153,7 +153,7 @@ if [ "${1#removedir=}" != "$1" ]; then
|
|||||||
opt_handled=1
|
opt_handled=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $opthandled -eq 0 ] ; then
|
if [ $opt_handled -eq 0 ] ; then
|
||||||
if [ "${1//=/ }" != "$1" ]; then
|
if [ "${1//=/ }" != "$1" ]; then
|
||||||
# Some variable set explicitly
|
# Some variable set explicitly
|
||||||
echo "Evaluating \"$1\""
|
echo "Evaluating \"$1\""
|
||||||
@ -179,6 +179,11 @@ if [ "$1" != "" ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "x$FORCEAWK" != "x" ] ; then
|
||||||
|
echo "Forcing use of AWK=${FORCEAWK}"
|
||||||
|
AWK=${FORCEAWK}
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$OSTYPE" == "msys" ]; then
|
if [ "$OSTYPE" == "msys" ]; then
|
||||||
echo "MSYS system detected"
|
echo "MSYS system detected"
|
||||||
in_msys=1
|
in_msys=1
|
||||||
|
Loading…
Reference in New Issue
Block a user