diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh index 050004aa08c49..d7194d2d8e531 100755 --- a/llvm/utils/release/test-release.sh +++ b/llvm/utils/release/test-release.sh @@ -755,8 +755,8 @@ for Flavor in $Flavors ; do # case there are build paths in the debug info. Do the same sub- # stitution on both files in case the string occurrs naturally. if ! cmp -s \ - <(env LC_CTYPE=C sed -e 's,Phase1,Phase2,g' -e 's,Phase2,Phase3,g' $p2) \ - <(env LC_CTYPE=C sed -e 's,Phase1,Phase2,g' -e 's,Phase2,Phase3,g' $p3) \ + <(env LC_ALL=C sed -e 's,Phase1,Phase2,g' -e 's,Phase2,Phase3,g' $p2) \ + <(env LC_ALL=C sed -e 's,Phase1,Phase2,g' -e 's,Phase2,Phase3,g' $p3) \ 16 16; then echo "file `basename $p2` differs between phase 2 and phase 3" fi