From 7ad31651bd6a00d7b20d429b88bcfd8d707a6c3e Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Fri, 22 Jan 2021 17:40:30 +0100 Subject: [PATCH] Meta: Use a bash shebang for text-to-cpp-string.sh Previously we had /bin/sh, which might be bash but is run in POSIX mode on some systems, causing read -r to not work correctly and inserting newlines when encountering literal "\n" in the source. Fixes #5040. --- Meta/text-to-cpp-string.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/text-to-cpp-string.sh b/Meta/text-to-cpp-string.sh index f07d90a6ea..a988da6799 100755 --- a/Meta/text-to-cpp-string.sh +++ b/Meta/text-to-cpp-string.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # $1 name of the variable # $2 input path