diff --git a/build_tools/python_deploy/build_linux_packages.sh b/build_tools/python_deploy/build_linux_packages.sh index f2a2bae713d..28786e1e2e2 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() {