X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fphdru.name.git;a=blobdiff_plain;f=reindex_blog_ru;h=1109cdca9bd1ce5bfc0e8271af3c924cfc71443a;hp=ced40328256c9c266ada83e03547ce45f92c2c88;hb=HEAD;hpb=6aa7ab00b5dc30b6221d0d55fecc1b0b957cdd79 diff --git a/reindex_blog_ru b/reindex_blog_ru index ced4032..1109cdc 100755 --- a/reindex_blog_ru +++ b/reindex_blog_ru @@ -1,7 +1,12 @@ #! /bin/sh +umask 022 + LC_TIME=ru_RU.KOI8-R export LC_TIME -cd ../htdocs/phd.pp.ru/Russian/blog && \ -exec ../../../../phd.pp.ru/reindex_blog.py ../../../../phd.pp.ru/index_ru "$@" +cd "`dirname \"$0\"`" && +./remove_old_html.py && + +cd ../htdocs/phdru.name && +exec ../../phdru.name/reindex_blog.py