diff options
author | teor <teor@torproject.org> | 2019-11-05 12:00:14 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-11-05 12:00:59 +1000 |
commit | 81972353cbd129984b7cf519bc10a726592793b3 (patch) | |
tree | f2ce2503820fdbcd4aab7853c13b82cbcb9aaf0f | |
parent | 9e2a2d38f45c45e455df04c20147bca5ebf078ce (diff) | |
download | tor-81972353cbd129984b7cf519bc10a726592793b3.tar.gz tor-81972353cbd129984b7cf519bc10a726592793b3.zip |
scripts: Fix update_versions.py for out-of-tree builds
Fixes bug 32371; bugfix on 0.4.0.1-alpha.
-rw-r--r-- | changes/bug32371 | 3 | ||||
-rwxr-xr-x | scripts/maint/update_versions.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/bug32371 b/changes/bug32371 new file mode 100644 index 0000000000..1fed15c2d7 --- /dev/null +++ b/changes/bug32371 @@ -0,0 +1,3 @@ + o Minor bugfixes (scripts): + - Fix update_versions.py for out-of-tree builds. + Fixes bug 32371; bugfix on 0.4.0.1-alpha. diff --git a/scripts/maint/update_versions.py b/scripts/maint/update_versions.py index 8067f2c6c8..706a93b6a2 100755 --- a/scripts/maint/update_versions.py +++ b/scripts/maint/update_versions.py @@ -95,7 +95,7 @@ def update_file(fname, replace_on_change(fname, have_changed) # Find out our version -with open("configure.ac") as f: +with open(P("configure.ac")) as f: version = find_version(f) # If we have no version, we can't proceed. |