[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] r25447: {website} publish: Fix find logic, and we do not need a tty (website/trunk)
Author: weasel
Date: 2012-02-17 17:15:47 +0000 (Fri, 17 Feb 2012)
New Revision: 25447
Modified:
website/trunk/publish
Log:
publish: Fix find logic, and we do not need a tty
Modified: website/trunk/publish
===================================================================
--- website/trunk/publish 2012-02-17 17:11:49 UTC (rev 25446)
+++ website/trunk/publish 2012-02-17 17:15:47 UTC (rev 25447)
@@ -32,9 +32,10 @@
-Prvz --delete . www-master.torproject.org:/srv/www-master.torproject.org/htdocs
echo "Forcing mirror update"
-ssh -t www-master.torproject.org '
+ssh www-master.torproject.org '
(
- find /srv/www-master.torproject.org/htdocs ! -perm +444 -print0 | xargs -0 --no-run-if-empty chmod -v a+r ||
- echo 2>&1 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run."
+ find /srv/www-master.torproject.org/htdocs ! -perm -444 -print0 | xargs -0 --no-run-if-empty chmod -v a+r ||
+ ( echo 2>&1 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run."; exit 1)
) &&
+ echo "Triggering mirror run" &&
/home/mirroradm/bin/trigger-mirrors'
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits