summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 583bda0..3586801 100755
--- a/build.sh
+++ b/build.sh
@@ -25,6 +25,7 @@ transform-li-dropdown-current-a ()
transforms=()
postprocess=true
+iconcolor=
. ${parameters}
sed -i s/'{TITLE}'/"${title}"/ ${output}
@@ -51,6 +52,13 @@ do
sed -i "${transform}" ${output}
done
+if test "${iconcolor}"
+then
+ sed -i s/'{ICONCOLOR}'/"-${iconcolor}"/ ${output}
+else
+ sed -i s/'{ICONCOLOR}'// ${output}
+fi
+
sed -i -e /'{MAIN}'/"r ${input}" -e /'{MAIN}'/'c\' ${output}
${postprocess} ${output}