commit 3f2882493172071b547e444bb81eeb4d4b34c328 parent d88a19af7cc109895bc1b5e6670f2289e127ee2c Author: teor <teor2345@gmail.com> Date: Tue, 16 May 2017 17:35:47 +1000 Make the usage example in updateFallbackDirs.py actually work And explain what it does. Fixes bug 22270 in 0.3.0.3-alpha. Diffstat:
| A | changes/bug22270 | | | 4 | ++++ |
| M | scripts/maint/updateFallbackDirs.py | | | 7 | ++++++- |
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/changes/bug22270 b/changes/bug22270 @@ -0,0 +1,4 @@ + o Minor bugfixes (fallback directory mirrors): + - Make the usage example in updateFallbackDirs.py actually work. + (And explain what it does.) + Fixes bug 22270 in 0.3.0.3-alpha. diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py @@ -1,8 +1,13 @@ #!/usr/bin/python # Usage: +# +# Regenerate the list: # scripts/maint/updateFallbackDirs.py > src/or/fallback_dirs.inc -# scripts/maint/updateFallbackDirs.py check_existing > src/or/fallback_dirs.inc +# +# Check the existing list: +# scripts/maint/updateFallbackDirs.py check_existing > fallback_dirs.inc.ok +# mv fallback_dirs.inc.ok src/or/fallback_dirs.inc # # This script should be run from a stable, reliable network connection, # with no other network activity (and not over tor).