scripts: Fix update_versions.py for out-of-tree builds

Fixes bug 32371; bugfix on 0.4.0.1-alpha.
This commit is contained in:
teor 2019-11-05 12:00:14 +10:00
parent 9e2a2d38f4
commit 81972353cb
2 changed files with 4 additions and 1 deletions

3
changes/bug32371 Normal file
View File

@ -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.

View File

@ -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.