Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: third_party/polymer/reproduce.sh

Issue 920223002: Replace CRLFs in Polymer source files with LFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update reproduce.sh with literal '\r' Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/polymer/README.chromium ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/polymer/reproduce.sh
diff --git a/third_party/polymer/reproduce.sh b/third_party/polymer/reproduce.sh
index 4fc7febcb13205092b31c7993a63b77110658b5a..4029e0c28c03a1c8cc5e29236038fb35c37cf2b1 100755
--- a/third_party/polymer/reproduce.sh
+++ b/third_party/polymer/reproduce.sh
@@ -23,6 +23,11 @@ rm -rf components/{core-component-page,core-field,font-roboto,webcomponentsjs}
# Make checkperms.py happy.
find components/{core-list,core-resizable} -type f -exec chmod -x {} \;
+# Remove carriage returns to make CQ happy.
+find components -type f \( -name \*.html -o -name \*.css -o -name \*.js\
+ -o -name \*.md -o -name \*.sh -o -name \*.json -o -name \*.gitignore \)\
+ -print0 | xargs -0 sed -i -e $'s/\r$//g'
+
# TODO(dzhioev): remove when
# https://code.google.com/p/grit-i18n/issues/detail?id=30 is fixed
patch -p1 < chromium.patch
« no previous file with comments | « third_party/polymer/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698