mirror of
https://github.com/dart-lang/sdk
synced 2024-09-30 04:48:37 +00:00
Fix allowing Windows newlines in sh files.
llvm.sh must always use Linux newlines due to the #! line as a \r character is considered part of the invoked program. This change fixes that by simply forcing Unix newlines on all .sh files, like we do with other file formats like C++ & Dart already. Fixes: b/330293090 Change-Id: Iaf044da487261908f96c76d5c62385a033106a0b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/358480 Commit-Queue: Jonas Termansen <sortie@google.com> Commit-Queue: William Hesse <whesse@google.com> Auto-Submit: Jonas Termansen <sortie@google.com> Reviewed-by: William Hesse <whesse@google.com>
This commit is contained in:
parent
1b5368f309
commit
f30a7ade48
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -4,6 +4,7 @@
|
|||
*.cpp text eol=lf
|
||||
*.h text eol=lf
|
||||
*.dart text eol=lf
|
||||
*.sh text eol=lf
|
||||
|
||||
# Explicitly declare text files we want to be normalized.
|
||||
*.gyp text
|
||||
|
|
Loading…
Reference in a new issue