From: Oleg Broytman Date: Sun, 21 Oct 2012 17:36:42 +0000 (+0000) Subject: Removed excessive trailing backslashes X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=50c1877cb65ba95f50b150add127d818cd45e56c;p=phdru.name%2Fphdru.name.git Removed excessive trailing backslashes git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@134 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- diff --git a/make-all b/make-all index 544d59e..dfa4431 100755 --- a/make-all +++ b/make-all @@ -1,4 +1,4 @@ #! /bin/sh -find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -print0 | \ +find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -print0 | xargs -r0 ./make-files diff --git a/make-changed b/make-changed index f579a09..e075224 100755 --- a/make-changed +++ b/make-changed @@ -1,4 +1,4 @@ #! /bin/sh -find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -print | \ +find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -print | ./make-changed.py | xargs -r ./make-files diff --git a/make-new b/make-new index 5ede80c..e087fd5 100755 --- a/make-new +++ b/make-new @@ -1,4 +1,4 @@ #! /bin/sh -find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -mtime -1 -print0 | \ +find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -mtime -1 -print0 | xargs -r0 ./make-files diff --git a/reindex_blog_ru b/reindex_blog_ru index 795047d..c678129 100755 --- a/reindex_blog_ru +++ b/reindex_blog_ru @@ -5,5 +5,5 @@ umask 022 LC_TIME=ru_RU.KOI8-R export LC_TIME -cd ../htdocs/phdru.name/public_html && \ +cd ../htdocs/phdru.name/public_html && exec ../../../phdru.name/reindex_blog.py ../../../phdru.name/ru Russian/blog diff --git a/update-all b/update-all index d5415db..49441cd 100755 --- a/update-all +++ b/update-all @@ -1,11 +1,11 @@ #! /bin/sh -cd ../htdocs/phdru.name && \ +cd ../htdocs/phdru.name && -ssh -4 phdppru@phdru.name 'cd public_html && exec mv .htaccess awstats cgi-bin "$HOME"/tmp' && \ -distribute -d public_html && \ -ssh -4 phdppru@phdru.name "cd tmp && exec mv .htaccess awstats cgi-bin ../public_html" && \ +ssh -4 phdppru@phdru.name 'cd public_html && exec mv .htaccess awstats cgi-bin "$HOME"/tmp' && +distribute -d public_html && +ssh -4 phdppru@phdru.name "cd tmp && exec mv .htaccess awstats cgi-bin ../public_html" && -ssh -4 iskra-aviel.phdru.name sitecopy -u fatal.ru && \ -cd "$HOME" && rsync -aPz4 iskra-aviel.phdru.name:.sitecopy . && \ +ssh -4 iskra-aviel.phdru.name sitecopy -u fatal.ru && +cd "$HOME" && rsync -aPz4 iskra-aviel.phdru.name:.sitecopy . && exec distribute .sitecopy