summaryrefslogtreecommitdiff
path: root/update-html.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update-html.sh')
-rwxr-xr-xupdate-html.sh14
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