summaryrefslogtreecommitdiff
path: root/src/generate_colors.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/generate_colors.sh')
-rw-r--r--src/generate_colors.sh2
1 files changed, 1 insertions, 1 deletions
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