diff options
author | Brian Fraser <fraserbn@gmail.com> | 2013-08-11 17:49:13 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-01-26 14:44:20 -0300 |
commit | ca0d4969087ef950be76f32a6a02918df4ed4238 (patch) | |
tree | 84000b1b09fc4550d5de1914c7de76dc94f7e3ce /hints | |
parent | 8995f03f98085ffc6f8f1458d5d32bcb87ed7964 (diff) | |
download | perl-ca0d4969087ef950be76f32a6a02918df4ed4238.tar.gz |
hints/linux-androideabi.sh: sed might not understand "\r", use $tr instead
Diffstat (limited to 'hints')
-rw-r--r-- | hints/linux-android.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |