Skip to content

Commit 6534dae

Browse files
author
Patricia Aas
committed
Only delete out if it was generated
1 parent f0335ea commit 6534dae

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

update.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,14 @@ make_platform_gclient() {
424424
run_gclient_runhooks() {
425425
cd "$CHROMIUM_DIR"
426426
info "[Chromium] Run gclient runhooks"
427+
428+
local out_present=0
429+
[ -d out ] && out_present=1
430+
427431
gclient runhooks
428-
rmdir out
432+
433+
(($out_present == 0)) && rmdir out
434+
429435
subheader "[Chromium] Ran gclient runhooks"
430436
}
431437

0 commit comments

Comments
 (0)