mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:17:35 +00:00
Meta: Make the text-to-cpp-string thingy pass shellcheck
This commit is contained in:
parent
22b03dd11b
commit
2f97590409
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
# $2 input path
|
# $2 input path
|
||||||
|
|
||||||
echo "extern const char $1[];"
|
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
|
grep -v '^ *#' < "$2" | while IFS= read -r line; do
|
||||||
echo "$line"
|
echo "$line"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue