From 5f58193cdefed39aca16802772f8eefdebc09513 Mon Sep 17 00:00:00 2001 From: Joel Spadin Date: Sat, 10 Oct 2020 21:40:22 +0000 Subject: [PATCH] fix: check out Bash scripts with LF Always check out Bashs scripts with Unix-style line endings so they work if you run them inside Docker on Windows. --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..3d05d86d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +* text=auto + +# Always use Unix-style line endings for Bash scripts so they work in +# Docker on Windows. +.bashrc text eol=lf +*.sh text eol=lf