summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordbeam <dbeam@chromium.org>2016-02-01 18:41:30 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-02 02:43:17 +0000
commit152db15f03c68e5cd7604682c887f27871e93785 (patch)
tree188dd94009cbec9beee0af3f4197e1e5a3c49ba1
parent4bcf7259782f17dbebe292a4e9e799a8043baed9 (diff)
downloadchromium_src-152db15f03c68e5cd7604682c887f27871e93785.zip
chromium_src-152db15f03c68e5cd7604682c887f27871e93785.tar.gz
chromium_src-152db15f03c68e5cd7604682c887f27871e93785.tar.bz2
Polymer: delete unused files when rsyncing
R=dzhioev@chromium.org BUG=none NOTRY=true Review URL: https://codereview.chromium.org/1658053002 Cr-Commit-Position: refs/heads/master@{#372872}
-rwxr-xr-xthird_party/polymer/v1_0/extract_inline_scripts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/polymer/v1_0/extract_inline_scripts.sh b/third_party/polymer/v1_0/extract_inline_scripts.sh
index 3d10610..c6c22ec 100755
--- a/third_party/polymer/v1_0/extract_inline_scripts.sh
+++ b/third_party/polymer/v1_0/extract_inline_scripts.sh
@@ -21,7 +21,7 @@ fi
src="${1%/}"
dst="${2%/}"
-rsync -c -r -v --exclude="compiled_resources*.gyp" "$src/" "$dst/"
+rsync -c --delete -r -v --exclude="compiled_resources*.gyp" "$src/" "$dst/"
find "$dst" -name "*.html" \
-not -path "*/demos/*" \