Minor fixes to update process
[clinton/website/site-support.git] / update.sh
index 01f90ad..b784706 100644 (file)
--- a/update.sh
+++ b/update.sh
@@ -4,7 +4,7 @@
 
 (cd site/unknownlamer.org-repo && darcs pull)
 
-clisp -i ./books.lisp -x '(dump-muse-books-file)'
+(cd site-support && clisp -i ./books.lisp -x '(dump-muse-books-file)')
 
 if [ "$1" = "--force" ]; then
     emacsclient --eval '(muse-project-publish "unknownlamer.org-clean" t)'
@@ -12,6 +12,10 @@ else
     emacsclient --eval '(muse-project-publish "unknownlamer.org-clean")'
 fi
 
+# something is broken in my muse setup but just work around it for now
+rm -f site/unknownlamer.org/index.html
+emacsclient --eval '(muse-project-publish "unknownlamer.org-clean")'
+
 cd site/unknownlamer.org
 darcs pull ../unknownlamer.org-repo
 find . -name \* -print0 | xargs -0 darcs add