Fix CRLF issues on Windows.

This commit is contained in:
David Given 2022-07-16 23:47:31 +02:00
parent 748dd1ac00
commit 2abcd7d3bd
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ do
EOF EOF
done done
done done
list=`$ARGTYPE g $EM_TABLE` list=$($ARGTYPE g $EM_TABLE | tr -d '\r')
cat << 'EOF' cat << 'EOF'
default: default:
/* a "g" argument */ /* a "g" argument */

View file

@ -2,7 +2,7 @@
export ED=$1 export ED=$1
EM_TABLE=$2 EM_TABLE=$2
ARGTYPE=$3 ARGTYPE=$3
list=`$ARGTYPE w $EM_TABLE` list=$($ARGTYPE w $EM_TABLE | tr -d '\r')
echo "switch(p->em_opcode) {" echo "switch(p->em_opcode) {"
for i in $list for i in $list
do do