From 2abcd7d3bd5ead87855563f9ef30a139ac7ba143 Mon Sep 17 00:00:00 2001 From: David Given Date: Sat, 16 Jul 2022 23:47:31 +0200 Subject: [PATCH] Fix CRLF issues on Windows. --- modules/src/read_em/m_C_mnem | 2 +- modules/src/read_em/m_C_mnem_na | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/src/read_em/m_C_mnem b/modules/src/read_em/m_C_mnem index c7bbab2d3..28588792d 100755 --- a/modules/src/read_em/m_C_mnem +++ b/modules/src/read_em/m_C_mnem @@ -36,7 +36,7 @@ do EOF done done -list=`$ARGTYPE g $EM_TABLE` +list=$($ARGTYPE g $EM_TABLE | tr -d '\r') cat << 'EOF' default: /* a "g" argument */ diff --git a/modules/src/read_em/m_C_mnem_na b/modules/src/read_em/m_C_mnem_na index 7b663cb62..1d4935cc1 100755 --- a/modules/src/read_em/m_C_mnem_na +++ b/modules/src/read_em/m_C_mnem_na @@ -2,7 +2,7 @@ export ED=$1 EM_TABLE=$2 ARGTYPE=$3 -list=`$ARGTYPE w $EM_TABLE` +list=$($ARGTYPE w $EM_TABLE | tr -d '\r') echo "switch(p->em_opcode) {" for i in $list do