diff options
author | MaZderMind | 2014-11-10 01:07:11 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-10 01:07:11 +0100 |
commit | 2ad3b1c61c4d2f11ad57840a091e4db397689405 (patch) | |
tree | 4d6b5e94052adbe0d2077cd9c58675ac47ddd6f9 /build.sh | |
parent | 3265e2c34059e7181ee792cc8a2c3418d5eb2687 (diff) |
basic setup for dynamic program teasers on the startpage
Diffstat (limited to '')
-rwxr-xr-x | build.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,4 +1,7 @@ #!/bin/sh + +LOCAL_SERVER='http://localhost/~peter/voc-frontends/31c3/' + echo "building scss" scss assets/css/src/lustige-styles.scss assets/css/lustige-styles.css @@ -16,8 +19,9 @@ wget \ --recursive \ --no-parent \ --page-requisites \ - http://localhost/~peter/voc-frontends/31c3/ \ - http://localhost/~peter/voc-frontends/31c3/404.html + $LOCAL_SERVER \ + $LOCAL_SERVER/404.html + $LOCAL_SERVER/program.json echo "setting <base />-tag" find build -name "*.html" -print0 | xargs -0 -exec sed -i 's~<base href="[^"]*" />~<base href="/" />~g'; |