mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:29:27 +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
|
||||
fi
|
||||
|
||||
if [ $opthandled -eq 0 ] ; then
|
||||
if [ $opt_handled -eq 0 ] ; then
|
||||
if [ "${1//=/ }" != "$1" ]; then
|
||||
# Some variable set explicitly
|
||||
echo "Evaluating \"$1\""
|
||||
@ -179,6 +179,11 @@ if [ "$1" != "" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ "x$FORCEAWK" != "x" ] ; then
|
||||
echo "Forcing use of AWK=${FORCEAWK}"
|
||||
AWK=${FORCEAWK}
|
||||
fi
|
||||
|
||||
if [ "$OSTYPE" == "msys" ]; then
|
||||
echo "MSYS system detected"
|
||||
in_msys=1
|
||||
|
Loading…
Reference in New Issue
Block a user