From 02ad753f56b8c573a5d73ecbf0ce2c486d16aaff Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Fri, 11 Sep 2015 17:04:32 +0000 Subject: [PATCH] Adds -f when rm'ing pyc files Without this I get prompted if I really want to remote the file. BUG=none TEST=none Review URL: https://codereview.chromium.org/1332303003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296651 0039d316-1c4b-4281-b951-d872f2087c98 --- update_depot_tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_depot_tools b/update_depot_tools index bd20609d9..48a8b739c 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -152,7 +152,7 @@ then fi fi -find "$base_dir" -iname "*.pyc" -exec rm {} \; +find "$base_dir" -iname "*.pyc" -exec rm -f {} \; # Initialize/update virtualenv. cd $base_dir