]> Cypherpunks.ru repositories - cypherpunks-www.git/blobdiff - all.do
Корректные права на файлы сгенерированного сайта
[cypherpunks-www.git] / all.do
diff --git a/all.do b/all.do
index 1fde72a368d3e31f51558e1c4de78912d7a74937..e7c0b3b9021fea925ee5e5a03bf60d31bf41ee92 100644 (file)
--- a/all.do
+++ b/all.do
@@ -1,4 +1,5 @@
-rm -rf cypherpunks.html
+html=cypherpunks.html
+rm -rf $html
 ${MAKEINFO:-makeinfo} --html \
     --css-include style.css \
     --set-customization-variable SECTION_NAME_IN_TITLE=1 \
@@ -9,4 +10,6 @@ ${MAKEINFO:-makeinfo} --html \
     --set-customization-variable DATE_IN_HEADER=1 \
     --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
     --set-customization-variable OPEN_QUOTE_SYMBOL=\" \
-    -o cypherpunks.html index.texi
+    -o $html index.texi
+find $html -type d -exec chmod 755 {} +
+find $html -type f -exec chmod 644 {} +