From e989ac4788a3f947ce0097effdccaabd62c5a8ff Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 20 Feb 2022 22:27:37 +0000 Subject: fixed colours --- src/generate_colors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generate_colors.sh b/src/generate_colors.sh index 2f0bfcf..3acbb50 100644 --- a/src/generate_colors.sh +++ b/src/generate_colors.sh @@ -31,7 +31,7 @@ append_header() { } append_sh() { - printf "export %s=$'%s'\n" $1 $(echo $2 | sed -rn "s/\"(.*)\"/\1/p") >> $shlib + printf 'export %s=$(printf %s)\n' $1 $2 >> $shlib } while IFS= read -r line; do -- cgit v1.2.1