summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-12-01 21:09:18 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-12-01 21:09:18 +0300
commit80fbf6c68f86f246f489886497182009e5ba8fc8 (patch)
tree865385464f5d91fc0065ca3a8675432350900ef0
parent87189d3f65cb66c95f0be5c3fb213bdc5741e634 (diff)
downloadvsvs-80fbf6c68f86f246f489886497182009e5ba8fc8.tar
vsvs-80fbf6c68f86f246f489886497182009e5ba8fc8.tar.xz
vsvs-80fbf6c68f86f246f489886497182009e5ba8fc8.zip
.
-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