From ca0d4969087ef950be76f32a6a02918df4ed4238 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Sun, 11 Aug 2013 17:49:13 -0300 Subject: hints/linux-androideabi.sh: sed might not understand "\r", use $tr instead --- hints/linux-android.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hints') diff --git a/hints/linux-android.sh b/hints/linux-android.sh index 8566f62b4e..b87e87ea36 100644 --- a/hints/linux-android.sh +++ b/hints/linux-android.sh @@ -186,9 +186,9 @@ result_status=\`cat output.status\` rm output.stdout output.stderr output.status # We get back Ok\r\n on android for some reason, grrr: -result=\`echo "\$result" | sed -e 's|\r||g'\` -result_err=\`echo "\$result_err" | sed -e 's|\r||g'\` -result_status=\`echo \$result_status | sed -e 's|\r||g'\` +result=\`echo "\$result" | $tr -d '\r'\` +result_err=\`echo "\$result_err" | $tr -d '\r'\` +result_status=\`echo \$result_status | $tr -d '\r'\` echo "\$result" if test "X\$result_err" != X; then -- cgit v1.2.1