diff options
author | nbarth@chromium.org <nbarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-13 09:56:17 +0000 |
---|---|---|
committer | nbarth@chromium.org <nbarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-13 09:56:17 +0000 |
commit | 54094e2d3c389ef8a1a14e6bab8493634d00a178 (patch) | |
tree | 64470eff7f7baa506ab272fbd3e055582d19809f /build/sanitize-mac-build-log.sh | |
parent | f065ec59efdaa8e00940381a99b93ef7960ba0f5 (diff) | |
download | chromium_src-54094e2d3c389ef8a1a14e6bab8493634d00a178.zip chromium_src-54094e2d3c389ef8a1a14e6bab8493634d00a178.tar.gz chromium_src-54094e2d3c389ef8a1a14e6bab8493634d00a178.tar.bz2 |
Cleanup sanitize build sed and sh scripts.
Minor cleanup:
* switch regexes to extended regexes,
which remove a few gratuitous backslashes
(and makes them less confusing, since basic regexes are so rarely used)
* fix . -> \. (which *does* need escaping in either case)
* make sed files non-executable,
since if executed they just say "don't execute this"
* delete blank line
(Just noticed these scripts when working on Blink IDL bindings, and made
necessary fixes for my changes, but cleaning up while I'm here.)
Review URL: https://chromiumcodereview.appspot.com/19052002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/sanitize-mac-build-log.sh')
-rwxr-xr-x | build/sanitize-mac-build-log.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/sanitize-mac-build-log.sh b/build/sanitize-mac-build-log.sh index dc743fa..df5a7af 100755 --- a/build/sanitize-mac-build-log.sh +++ b/build/sanitize-mac-build-log.sh @@ -2,5 +2,4 @@ # Copyright (c) 2010 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -sed -f `dirname "${0}"`/`basename "${0}" sh`sed - +sed -r -f `dirname "${0}"`/`basename "${0}" sh`sed |