]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - update-all
Escape the escape literal
[phdru.name/phdru.name.git] / update-all
index 614d1a48fffd7481dc04c37bb100d69bf7c5f4f5..ed64a5ffc561ad31734c33cf70f7148d2deef65c 100755 (executable)
@@ -1,6 +1,11 @@
 #! /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 ../htdocs/phdru.name &&
+
+ssh -4 phdppru@phdru.name '
+   cd public_html && exec mv .htaccess awstats cgi-bin "$HOME"/tmp' &&
+
+distribute -d public_html &&
+
+exec ssh -4 phdppru@phdru.name '
+   cd tmp && exec mv .htaccess awstats cgi-bin ../public_html'