From 3f2882493172071b547e444bb81eeb4d4b34c328 Mon Sep 17 00:00:00 2001 From: teor Date: Tue, 16 May 2017 17:35:47 +1000 Subject: Make the usage example in updateFallbackDirs.py actually work And explain what it does. Fixes bug 22270 in 0.3.0.3-alpha. --- scripts/maint/updateFallbackDirs.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py index 117ac5cccb..50a2bd620e 100755 --- 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). -- cgit v1.2.3-54-g00ecf