fix duplicate symbol test

This commit is contained in:
Jorge Aparicio 2016-10-03 20:19:56 -05:00
parent 4e7d7c7cd8
commit 27adb57c40

View file

@ -60,7 +60,7 @@ esac
stdout=$($PREFIX$NM -g --defined-only /target/${1}/debug/librustc_builtins.rlib)
set +e
echo $stdout | sort | uniq -d | grep -v __x86.get_pc_thunk | grep 'T __'
echo "$stdout" | sort | uniq -d | grep -v __x86.get_pc_thunk | grep 'T __'
if test $? = 0; then
exit 1