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