summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-05-16 17:35:47 +1000
committerteor <teor2345@gmail.com>2017-05-16 17:35:47 +1000
commit3f2882493172071b547e444bb81eeb4d4b34c328 (patch)
tree6271d1b70c4fa983cdeaf512f7fb20cb79a62eb8 /scripts
parentd88a19af7cc109895bc1b5e6670f2289e127ee2c (diff)
downloadtor-3f2882493172071b547e444bb81eeb4d4b34c328.tar.gz
tor-3f2882493172071b547e444bb81eeb4d4b34c328.zip
Make the usage example in updateFallbackDirs.py actually work
And explain what it does. Fixes bug 22270 in 0.3.0.3-alpha.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/maint/updateFallbackDirs.py7
1 files changed, 6 insertions, 1 deletions
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).