Meta: Make the text-to-cpp-string thingy pass shellcheck

This commit is contained in:
Andreas Kling 2020-09-14 16:31:19 +02:00
parent 22b03dd11b
commit 2f97590409

View file

@ -3,7 +3,7 @@
# $2 input path
echo "extern const char $1[];"
echo -n "const char $1[] = R\"("
printf "const char %s[] = R\"(" "$1"
grep -v '^ *#' < "$2" | while IFS= read -r line; do
echo "$line"
done