aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/development/frontmatter-env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/development/frontmatter-env.sh b/src/development/frontmatter-env.sh
index efe4f65..f79ad50 100755
--- a/src/development/frontmatter-env.sh
+++ b/src/development/frontmatter-env.sh
@@ -57,7 +57,7 @@ done
shift $((OPTIND - 1))
DELIM="$(uuid)"
-awk -vDELIM="$DELIM" -F: '
+awk -vDELIM="$DELIM" -vQUOTE="'" -F: '
BEGIN {
separator = 0
}
@@ -74,7 +74,7 @@ awk -vDELIM="$DELIM" -F: '
/^$/ { next }
{
- printf "%s=\"$(\n\tcat <<-\"%s\"\n\t\t", $1, DELIM
+ printf "%s=\"$(\n\tcat <<-%s%s%s\n\t\t", $1, QUOTE, DELIM, QUOTE
base_index = 1
offset = base_index + length($1) + length(": ")