summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.do2
-rw-r--r--index.html.st2
-rw-r--r--shelter.sh4
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