Avoid early pipefail exits due to grep failures in stage comparisons.
authorDimitry Andric <dimitry@andric.com>
Mon, 20 Jul 2015 22:24:40 +0000 (22:24 +0000)
committerDimitry Andric <dimitry@andric.com>
Mon, 20 Jul 2015 22:24:40 +0000 (22:24 +0000)
commit52a143a5d91ef7793a5c49934a7cc75b86632e8a
tree2f7158caf1225809e2588223937d2ce8aa6ccd9b
parent424452513ecf6947b0a5ae33c35b4c621020c7f2
Avoid early pipefail exits due to grep failures in stage comparisons.

If objects or executables did not contain any RPATH, grep would return
nonzero, and the whole stage comparison loop would unexpectedly exit.
Fix this by checking the grep result explicitly.

llvm-svn: 242722
llvm/utils/release/test-release.sh