]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - update-all
Refactor update script
[phdru.name/phdru.name.git] / update-all
index 97b46995d288ba96f72ddfe0ded242ca10fea524..4aa0189bb1dbc7b679aecfe92539daf8d1140c4a 100755 (executable)
@@ -1,4 +1,4 @@
 #! /bin/sh
 
-cd ../htdocs/phdru.name &&
-exec distribute -d public_html
+cd "`dirname \"$0\"`"/.. && distribute -ad phdru.name
+cd htdocs && exec distribute -ad phdru.name