File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 22#
33# This source file is part of the Swift.org open source project
44#
5- # Copyright (c) 2021-2024 Apple Inc. and the Swift project authors
5+ # Copyright (c) 2021-2025 Apple Inc. and the Swift project authors
66# Licensed under Apache License v2.0 with Runtime Library Exception
77#
88# See https://swift.org/LICENSE.txt for license information
@@ -18,7 +18,7 @@ here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1818
1919function replace_acceptable_years() {
2020 # this needs to replace all acceptable forms with 'YEARS'
21- sed -e ' s/20[12][78901234 ]-20[12][8901234 ]/YEARS/' -e ' s/20[12][8901234 ]/YEARS/'
21+ sed -e ' s/20[12][789012345 ]-20[12][89012345 ]/YEARS/' -e ' s/20[12][89012345 ]/YEARS/'
2222}
2323
2424printf " => Checking for unacceptable language… "
151151 cd " $here /.."
152152 find . \
153153 \( \! -path ' ./.build/*' -a \
154+ \! -path ' ./Tools/.build/*' -a \
154155 \! -name ' .' -a \
155156 \( " ${matching_files[@]} " \) -a \
156157 \( \! \( " ${exceptions[@]} " \) \) \) | while read line; do
You can’t perform that action at this time.
0 commit comments