Commit 64ce04c6 authored by Scott Hess's avatar Scott Hess

[sql] Fix CRLF in some SQLite source code.

Sometimes CRLF sneak into SQLite's code, and then causes patch errors
when landing in Chromium.  Add an import step for cleaning this up and
clean things up.

None of these files are in the Chromium build.  They just gum up the
works.

BUG=340757
TBR=michaeln@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/880533004

Cr-Commit-Position: refs/heads/master@{#314033}
parent 9c3e3380
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment