]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - update-all
Distribute this directory as well as the home page
[phdru.name/phdru.name.git] / update-all
index cb59eb11611b03240f1b7c743d2dbf83dd3ae9a2..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