diff options
| author | Taylan Kammer <taylan.kammer@gmail.com> | 2026-11-14 16:16:17 +0100 |
|---|---|---|
| committer | Taylan Kammer <taylan.kammer@gmail.com> | 2026-11-14 16:44:26 +0100 |
| commit | ee7a205bd8235255b652038bfef779744f3d93f5 (patch) | |
| tree | 3736b2687102515d775d256e0262f3de9701d65b /update-html.sh | |
| parent | 462f605234909ece37c9279fac3097a6727afb37 (diff) | |
Rename to Xisp.
Diffstat (limited to 'update-html.sh')
| -rwxr-xr-x | update-html.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/update-html.sh b/update-html.sh index 62b2551..04c9518 100755 --- a/update-html.sh +++ b/update-html.sh @@ -2,9 +2,9 @@ set -euo pipefail -if [ "$(pwd)" != "$HOME/src/zisp" ] +if [ "$(pwd)" != "$HOME/src/xisp" ] then - echo >&2 "Call this from within the Zisp source root." + echo >&2 "Call this from within the Xisp source root." exit 1 fi @@ -54,24 +54,24 @@ md2ht() { } > "$dst" } -md2ht html/index.md html/zisp/index.html +md2ht html/index.md html/xisp/index.html -cp html/style.css html/zisp/ +cp html/style.css html/xisp/ shopt -s globstar for file in notes/*.md doc/**/*.md do - dest=html/zisp/${file%.md}.html + dest=html/xisp/${file%.md}.html mkdir -p "${dest%/*}" md2ht "$file" "$dest" done for file in doc/**/*.txt do - dest=html/zisp/$file + dest=html/xisp/$file mkdir -p "${dest%/*}" cp "$file" "$dest" done -rsync -a html/zisp tk:/var/www/html +rsync -a html/xisp tk:/var/www/html |
