fix: LLVM installer failed with an existing LLVM checkout
@@ -46,8 +46,8 @@ function fetch_llvm {
# Discard all differences with release/9.x branch
cd $llvm_co_dir;
git checkout release/10.x || eexit "checking out git branch failed"
- git pull || eexit "error doing a git pull"
git reset --hard HEAD || eexit "resetting --hard HEAD failed"
+ git pull || eexit "error doing a git pull"
cd ..;
fi
}
