diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-12-11 19:51:22 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-12-11 19:51:22 +0000 |
commit | 12fc3af06712392a56156314942e0cc9ba311e4a (patch) | |
tree | 638ceac0f9921e8699b424286f393e5bb109a7cf | |
parent | 3ecb43c5968fbfc48cebf4c5307fef1441a67c29 (diff) |
round-robin.sh: Don't run "find" on non-existent directory
... otherwise "find" fails.
Change-Id: Iba71e97da8a547d2cc8f1d9e352e2e9edb5ca00a
-rw-r--r-- | round-robin.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/round-robin.sh b/round-robin.sh index b15521cb..e2e9bc90 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -367,7 +367,7 @@ build_abe () set +f; rm -rf builds/*/*/$git_dir*; set -f fi - if [ x"$project" = x"gcc" ]; then + if [ x"$project" = x"gcc" -a -d builds/destdir ]; then # Delete previously-built GCC so that we avoid using it in native # builds. Otherwise, when we are bisecting GCC bootstrap failure, # we could use broken GCC. |