mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
Meta: Make the text-to-cpp-string thingy pass shellcheck
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user