Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

build: keep shell scripts LF so bash can run them

Olcay Seygan7429a9a11478
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..bbce755c0
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,5 @@
+# core.autocrlf is on here and the tree is CRLF, which is right for the sources. A shell script is
+# not: MSYS2's bash reads the carriage returns as part of the command and the build dies on the
+# first line. Tools/ffmpeg-build.sh is the one that matters, and any other shell script would want
+# the same.
+*.sh text eol=lf