wowana.me

website source


commit a52523adb57072856b674db07cc6b45f608e8a59
parent a4db4e3f9013f768a350dda059a27b5953ac2a8f
Author: opal hart <opal@wowana.me>
Date:   Fri, 31 Jan 2020 06:08:01 +0000

blog.sh: EDITOR shouldn't be quoted

if EDITOR environment variable is an executable with arguments, we want
it to work

Diffstat:
Mscripts/blog.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/blog.sh b/scripts/blog.sh @@ -1,7 +1,7 @@ #!/bin/sh file="$(mktemp)" -"$EDITOR" "$file" +$EDITOR "$file" date="$(date +%Y%m%d%H%M.%S)" sed -i -e"2i <!--[time $date]-->" "$file"