From f936bae3befc748335f75b0cf14adb8d96f03965 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Tue, 6 Aug 2019 09:30:10 +0000 Subject: [PATCH] test-release.sh: Reorder sed commands for the binary comparison git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368004 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/release/test-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/release/test-release.sh b/utils/release/test-release.sh index 031687f6e4b..8f691ccfb87 100755 --- a/utils/release/test-release.sh +++ b/utils/release/test-release.sh @@ -594,8 +594,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,Phase2,Phase3,g' -e 's,Phase1,Phase2,g' $p2) \ - <(env LC_CTYPE=C sed -e 's,Phase2,Phase3,g' -e 's,Phase1,Phase2,g' $p3) \ + <(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) \ 16 16; then echo "file `basename $p2` differs between phase 2 and phase 3" fi -- 2.40.0