From aca3864949a9523b2ae7608db5653209cd47b2b1 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Tue, 1 Dec 2020 21:16:28 +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 4a57be8..b61964d 100644 --- a/default.do +++ b/default.do @@ -1,2 +1,2 @@ -deps=$(shelter.sh $2 3>&1) +deps=$( { shelter.sh $2.st >$2 } 3>&1) redo-ifchange ${deps} diff --git a/index.html.st b/index.html.st index 5a8854e..a0fb7e1 100644 --- a/index.html.st +++ b/index.html.st @@ -1,5 +1,5 @@ $( { title="Welcome" content="Hello, World!" - shelter.sh main + shelter.sh main.st } ) diff --git a/shelter.sh b/shelter.sh index cae7daf..647e708 100644 --- a/shelter.sh +++ b/shelter.sh @@ -1,4 +1,4 @@ #!/bin/sh -echo -n $1.st >&3 -shelter <$1.st >$1 +echo -n $1 >&3 +shelter <$1 -- cgit v1.2.3