From 47c645c64dbede3d32f8487a87871adf1402b72c Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Fri, 2 Sep 2022 17:18:19 +0000 Subject: [PATCH] Fix generated file checks No idea how this slipped by. Sorry about that. Fixes #1334 --- build_tools/python_deploy/build_linux_packages.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/build_tools/python_deploy/build_linux_packages.sh b/build_tools/python_deploy/build_linux_packages.sh index f2a2bae713d0..28786e1e2e27 100755 --- a/build_tools/python_deploy/build_linux_packages.sh +++ b/build_tools/python_deploy/build_linux_packages.sh @@ -211,11 +211,9 @@ function _check_file_not_changed_by() { # TODO: Is there a better cleanup strategy that doesn't require duplicating # this inside and outside the `if`? rm "$file_new" - rm "$file_backup" return 1 fi rm "$file_new" - rm "$file_backup" } function test_in_tree() {