| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # Creates an updated google.patch that reflects all checked-in changes in the | 7 # Creates an updated google.patch that reflects all checked-in changes in the |
| 8 # current branch. To do this, it | 8 # current branch. To do this, it |
| 9 # 1) Checks out the baseline from CVS into a separate /tmp directory. | 9 # 1) Checks out the baseline from CVS into a separate /tmp directory. |
| 10 # 2) Applies all changes third_party/hunspell had since baseline to the CVS dir. | 10 # 2) Applies all changes third_party/hunspell had since baseline to the CVS dir. |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 echo Applying google.patch. | 93 echo Applying google.patch. |
| 94 patch -p0 -i ${google_patch_file} | 94 patch -p0 -i ${google_patch_file} |
| 95 echo Applying local patch. | 95 echo Applying local patch. |
| 96 patch -p0 -i ${local_patch_file} | 96 patch -p0 -i ${local_patch_file} |
| 97 | 97 |
| 98 # And generate a new google.patch by diffing modified CVS hunspell against CVS | 98 # And generate a new google.patch by diffing modified CVS hunspell against CVS |
| 99 # hunspell baseline. | 99 # hunspell baseline. |
| 100 echo Updating google.patch. | 100 echo Updating google.patch. |
| 101 cvs -q diff -u > ${hunspell_dir}/google.patch | 101 cvs -q diff -u > ${hunspell_dir}/google.patch |
| 102 | 102 |
| OLD | NEW |