mirror of
https://github.com/Z3Prover/z3
synced 2025-08-27 05:26:01 +00:00
try src_dir_repo
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
778b9a57c3
commit
1987b3dde1
1 changed files with 2 additions and 1 deletions
|
@ -115,7 +115,8 @@ def _z3_version():
|
|||
post = os.getenv('Z3_VERSION_SUFFIX', '')
|
||||
print("z3_version", "release dir", RELEASE_DIR)
|
||||
if RELEASE_DIR is None:
|
||||
fns = [os.path.join(SRC_DIR, 'VERSION.txt'), os.path.join(ROOT_DIR, 'VERSION.txt')]
|
||||
dirs = [SRC_DIR, ROOT_DIR, SRC_DIR_REPO]
|
||||
fns = [os.path.join(d, 'VERSION.txt') for d in dirs]
|
||||
for fn in fns:
|
||||
print("loading version file", fn)
|
||||
if os.path.exists(fn):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue