summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorXiaohan Wang <xhwang@chromium.org>2018-01-31 14:20:02 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2018-02-02 00:18:24 +0100
commitcaaa40d2c67b1f4ebde368c859647af6f42f394a (patch)
treeaf457a2a2fa7ab9b12b8082e3a4e21ec294e1780 /tests/fate-run.sh
parentb1bef755f617af9685b592d866b3eb7f3c4b02b1 (diff)
configure: Remove carriage return ('\r') in Windows CC_IDENT
Currently the Windows CC_IDENT is ended with '\r\n'. "head -n1" will not remove the '\r' and this is causing building error in Chromium. This CL adds "tr -d '\r'" to remove '\r' in the CC_IDENT string. Since in most cases '\r' only appears at the end of a string/line, this should work in most cases. See example: printf "hello\r\nworld\r\n" | head -n1 | hd 00000000 68 65 6c 6c 6f 0d 0a |hello..| printf "hello\r\nworld\r\n" | head -n1 | tr -d '\r' | hd 00000000 68 65 6c 6c 6f 0a |hello.| Also note a similar previous change at: https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2013-October/069950.html Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/fate-run.sh')
0 files changed, 0 insertions, 0 deletions