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)
commit85e9772512e67c463ba0cdc7d63f835443ac6002
tree7c6a979465f454bb099835d2fdd412c0009cd467
parent186b3e7e9e1ecb9e90a7e59487266108a16fda03
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242722 91177308-0d34-0410-b5e6-96231b3b80d8
utils/release/test-release.sh