diff options
author | Andreas Kling <kling@serenityos.org> | 2020-09-14 16:31:19 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-14 16:33:53 +0200 |
commit | 2f975904099b89fc77966b9f68f56711c1cc91e5 (patch) | |
tree | c114937d847d3f27eb97ce0cefec6b48e45570e1 /Meta | |
parent | 22b03dd11b01564e301ce6bb45ff01302cc49ad4 (diff) | |
download | serenity-2f975904099b89fc77966b9f68f56711c1cc91e5.zip |
Meta: Make the text-to-cpp-string thingy pass shellcheck
Diffstat (limited to 'Meta')
-rwxr-xr-x | Meta/text-to-cpp-string.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/text-to-cpp-string.sh b/Meta/text-to-cpp-string.sh index 4330b0dba7..dea411ae6d 100755 --- a/Meta/text-to-cpp-string.sh +++ b/Meta/text-to-cpp-string.sh @@ -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 |