| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 ## | 2 ## |
| 3 ## Copyright (c) 2010 The VP8 project authors. All Rights Reserved. | 3 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 4 ## | 4 ## |
| 5 ## Use of this source code is governed by a BSD-style license | 5 ## Use of this source code is governed by a BSD-style license |
| 6 ## that can be found in the LICENSE file in the root of the source | 6 ## that can be found in the LICENSE file in the root of the source |
| 7 ## tree. An additional intellectual property rights grant can be found | 7 ## tree. An additional intellectual property rights grant can be found |
| 8 ## in the file PATENTS. All contributing project authors may | 8 ## in the file PATENTS. All contributing project authors may |
| 9 ## be found in the AUTHORS file in the root of the source tree. | 9 ## be found in the AUTHORS file in the root of the source tree. |
| 10 ## | 10 ## |
| 11 | 11 |
| 12 | 12 |
| 13 # gen_example_code.sh | 13 # gen_example_code.sh |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 76 |
| 77 while IFS=$'\n' read -r line; do | 77 while IFS=$'\n' read -r line; do |
| 78 case "$line" in | 78 case "$line" in |
| 79 @*) include_block yes < "$txt" \ | 79 @*) include_block yes < "$txt" \ |
| 80 || include_block < "${template%.c}.txt" \ | 80 || include_block < "${template%.c}.txt" \ |
| 81 #|| echo "WARNING: failed to find text for block $block_name" >&2 | 81 #|| echo "WARNING: failed to find text for block $block_name" >&2 |
| 82 ;; | 82 ;; |
| 83 *) echo "$line" ;; | 83 *) echo "$line" ;; |
| 84 esac | 84 esac |
| 85 done < "$template" | 85 done < "$template" |
| OLD | NEW |