From 80fbf6c68f86f246f489886497182009e5ba8fc8 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Tue, 1 Dec 2020 21:09:18 +0300 Subject: . --- default.do | 2 +- index.html.st | 2 +- shelter.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/default.do b/default.do index eba6e8b..4a57be8 100644 --- a/default.do +++ b/default.do @@ -1,2 +1,2 @@ -deps=$({shelter.sh $2.st > $2} 3>&1) +deps=$(shelter.sh $2 3>&1) redo-ifchange ${deps} diff --git a/index.html.st b/index.html.st index e2f41b6..61ae4b4 100644 --- a/index.html.st +++ b/index.html.st @@ -1,5 +1,5 @@ $( title="Welcome" content="Hello, World!" - shelter main.st + shelter.sh main ) diff --git a/shelter.sh b/shelter.sh index d3d949e..cae7daf 100644 --- a/shelter.sh +++ b/shelter.sh @@ -1,4 +1,4 @@ #!/bin/sh -echo -n $1 >&3 -shelter < $1 +echo -n $1.st >&3 +shelter <$1.st >$1 -- cgit v1.2.3