mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 23:16:05 +00:00
d6c9bd4542
* Make sure meson can build with `system` = `android`. * Add support for binr/blob in meson build * Add also r_util as dependency * Create sdb_version.py to get the SDBVER value from config.mk * Set unknown sdb version if something fails
12 lines
274 B
Python
12 lines
274 B
Python
#!/usr/bin/env python
|
|
|
|
""" Portable python script to read version from configure.acr """
|
|
|
|
import sys
|
|
|
|
with open(sys.argv[1], 'r') as f:
|
|
for l in f:
|
|
if 'SDBVER=' in l:
|
|
version = l.strip('\n').split('=')[1]
|
|
sys.stdout.write(version + '\n')
|