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

Unified Diff: third_party/sqlite/README.chromium

Issue 880533004: [sql] Fix CRLF in some SQLite source code. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | third_party/sqlite/sqlite-src-3070603/src/test_func.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/README.chromium
diff --git a/third_party/sqlite/README.chromium b/third_party/sqlite/README.chromium
index ebad10a84ff246499503b99b7ebc542950d54415..330ac899144d4aa8f8b1da0d58ea1e3807ad87da 100644
--- a/third_party/sqlite/README.chromium
+++ b/third_party/sqlite/README.chromium
@@ -141,6 +141,12 @@ unzip sqlite-src-${VERSION}.zip
rm sqlite-src-${VERSION}.zip
# -f includes ignored files, of which there are a couple.
git add -f sqlite-src-${VERSION}/
+# Sometimes DOS line endings sneak into the source code. This command works on
+# OSX and Linux and fixes those files, but double-check the results before
+# committing:
+egrep --exclude="*.eps" --exclude="*.ico" --exclude="*.jpg" \
+ --exclude="*.gif" --exclude="*.tiff" -URl '\r' . | \
+ LANG=C xargs sed -i~ -e $'s/\r$//'
git commit -m "Begin import of sqlite-src-${VERSION}" sqlite-src-${VERSION}
rm -rf src
cp -a sqlite-src-${VERSION} src
« no previous file with comments | « no previous file | third_party/sqlite/sqlite-src-3070603/src/test_func.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698