mirror of
https://github.com/avast/retdec.git
synced 2024-11-23 13:00:13 +00:00
cmake: Improve the output of install-share.py during installation.
Instead of -- Up-to-date: build/install/bin/retdec-getsig build/install/share/retdec/support already exists, version is ok -- Up-to-date: build/install/bin/retdec-tests-capstone2llvmir the script now prints -- Up-to-date: build/install/bin/retdec-getsig -- Up-to-date: build/install/share/retdec/support (version is OK) -- Up-to-date: build/install/bin/retdec-tests-capstone2llvmir which looks much nicer.
This commit is contained in:
parent
cebf8ee14f
commit
cdf863c14e
@ -48,7 +48,7 @@ def main():
|
||||
version_from_file = version_file.read().split('\n')[0]
|
||||
|
||||
if version == version_from_file:
|
||||
print('%s already exists, version is ok' % support_dir)
|
||||
print('-- Up-to-date: %s (version is OK)' % support_dir)
|
||||
sys.exit(0)
|
||||
else:
|
||||
print('version is not as expected -> replace with the expected version')
|
||||
|
Loading…
Reference in New Issue
Block a user