From 27adb57c40706466dbe2ffd4e5bca7b15e01cb92 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 3 Oct 2016 20:19:56 -0500 Subject: [PATCH] fix duplicate symbol test --- library/compiler-builtins/ci/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/compiler-builtins/ci/run.sh b/library/compiler-builtins/ci/run.sh index e938bc18c740..c3618132b675 100755 --- a/library/compiler-builtins/ci/run.sh +++ b/library/compiler-builtins/ci/run.sh @@ -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