From 3ba706c40d5faa49c1bc8fe153eabf89e6a21560 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 6 Jul 2023 10:23:10 -0400 Subject: [PATCH] USHIFT-1401: rebase should only clean up files it creates We use the _output directory for tools and test files, which should not be deleted when running a rebase. --- scripts/auto-rebase/rebase.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/auto-rebase/rebase.sh b/scripts/auto-rebase/rebase.sh index e0c2424659..8b38b0ce59 100755 --- a/scripts/auto-rebase/rebase.sh +++ b/scripts/auto-rebase/rebase.sh @@ -993,7 +993,7 @@ rebase_to() { fi title "# Removing staging directory" - rm -rf "$REPOROOT/_output" + rm -rf "${STAGING_DIR}" }