Fix problem with ar_to_bc.sh script introduced by r357450.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 2 Apr 2019 17:47:38 +0000 (17:47 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 2 Apr 2019 17:47:38 +0000 (17:47 +0000)
The new code wasn't matching absolute paths correctly. Should unbreak
sanitizer-x86_64-linux bot.

llvm-svn: 357502

compiler-rt/lib/sanitizer_common/symbolizer/scripts/ar_to_bc.sh

index 7ce901e..5c77bea 100755 (executable)
@@ -9,8 +9,8 @@ if [ "$#" -le 1 ]; then
   usage
 fi
 
-[[ AR == /* ]] || AR=$PWD/$AR
-[[ LINK == /* ]] || LINK=$PWD/$LINK
+[[ $AR == /* ]] || AR=$PWD/$AR
+[[ $LINK == /* ]] || LINK=$PWD/$LINK
 
 INPUTS=
 OUTPUT=