-
This is BaCon: https://www.basic-converter.org/stable/bacon-4.7.tar.gz The
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
On MSYS2 3.4.6 (2023-04-01) it fails in different way:
Trying to debug:
Isolating the failing command line:
KornShell is running Bash script:
I haven't investigated where in |
Beta Was this translation helpful? Give feedback.
-
Cygwin 3.4.6 seems to work better:
|
Beta Was this translation helpful? Give feedback.
-
I traced the
Seemingly the
That seemingly corresponds to these lines of 8536
8537 # Detect if this is a Windows file
8538 if [[ `head -1 ${g_FEED}` = +(*${g_CRLF}) ]]
8539 then
8540 echo "System error: Windows file detected! Remove non-Unix CR line separators first. Exiting..."
8541 exit 1
8542 fi
8543 Finally I extracted lines that sets typeset -rx g_CRLF=`echo -e "\015\012"`
echo -n $g_CRLF | od -t x1 Testing resultsOn Ubuntu 20.04.6 LTS: sskras@vps1128235:~$ typeset -rx g_CRLF=`echo -e "\015\012"`
sskras@vps1128235:~$ echo -n $g_CRLF | od -t x1
0000000 0d
0000001 On midipix 2022.11.18.20.22.52: midipix@DESKTOP-O7JE7JE ~
$ typeset -rx g_CRLF=`echo -e "\015\012"`
midipix@DESKTOP-O7JE7JE ~
$ echo -n $g_CRLF | od -t x1
0000000 0d
0000001 On Cygwin 3.4.6-1: saukrs@DESKTOP-O7JE7JE ~
$ typeset -rx g_CRLF=`echo -e "\015\012"`
saukrs@DESKTOP-O7JE7JE ~
$ echo -n $g_CRLF | od -t x1
0000000 0d
0000001 On MSYS2 3.4.6: saukrs@DESKTOP-O7JE7JE MSYS ~
$ typeset -rx g_CRLF=`echo -e "\015\012"`
saukrs@DESKTOP-O7JE7JE MSYS ~
$ echo -n $g_CRLF | od -t x1
0000000 On MSYS2 the variable seems to be empty. It could be reported on msys2/msys2-runtime, I think. |
Beta Was this translation helpful? Give feedback.
I traced the
make
run:Seemingly the
else
branch is failing here.So I traced it by adding
-x
to the command line: