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.
This commit is contained in:
Linus Groh 2021-01-22 17:40:30 +01:00 committed by Andreas Kling
parent 5e95a777e0
commit 7ad31651bd
Notes: sideshowbarker 2024-07-18 23:00:29 +09:00

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# $1 name of the variable
# $2 input path