]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - update-all
Fix(cheetah compile): chmod +x
[phdru.name/phdru.name.git] / update-all
index 614d1a48fffd7481dc04c37bb100d69bf7c5f4f5..5a782af31910aaf5f7667d69d305c2b4a91e6be1 100755 (executable)
@@ -1,6 +1,4 @@
 #! /bin/sh
 
-cd ../htdocs && \
-ssh phdppru@phd.pp.ru "cd public_html && exec mv .htaccess awstats cgi-bin ../tmp" && \
-distribute -r public_html/ -d phd.pp.ru/ && \
-exec ssh phdppru@phd.pp.ru "cd tmp && exec mv .htaccess awstats cgi-bin ../public_html"
+cd "`dirname \"$0\"`"/.. && distribute -aD phdru.name
+cd htdocs && exec distribute -aD phdru.name