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 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