From 2ee020d505cfd9c9c2d4b9b8f58d25ebc02e88ca 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