From fd2fdf7d3929a365e356e49ec2b7e52f88053262 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Wed, 18 Sep 2024 14:00:39 +0000 Subject: [PATCH] fix build: Ensure py scripts use unix line endings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I'm not sure why, but my sparkd build (linux) suddenly began failing to generate cpp headers for protos. The error message indicated it was due to an unexpected carriage return (\r) in plugin.py: /usr/bin/env: ‘python\r’: No such file or directory --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 48de34a3c..c2090a7b1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ *.cmd text=auto eol=crlf *.cs text=auto eol=crlf *.sh text=auto eol=lf +*.py text=auto eol=lf