diff --git a/update_depot_tools b/update_depot_tools index bc163f80df..6e6f00de97 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -123,6 +123,6 @@ if [ "X$DEPOT_TOOLS_UPDATE" != "X0" ]; then source "$base_dir/cipd_bin_setup.sh" cipd_bin_setup - find "$base_dir" -iname "*.pyc" -exec rm -f {} \; + find "$base_dir" | grep -i ".*\.pyc" | xargs rm -f; fi