diff options
Diffstat (limited to 'build/scripts/mkver.py')
-rwxr-xr-x | build/scripts/mkver.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/scripts/mkver.py b/build/scripts/mkver.py index 6b4ac58bf7..321cdaade1 100755 --- a/build/scripts/mkver.py +++ b/build/scripts/mkver.py @@ -1,12 +1,12 @@ -import sys - +import sys + if __name__ == '__main__': with open(sys.argv[1], 'r') as f: data = f.readline() - + beg = data.find('(') + 1 end = data.find(')') version = data[beg:end] - + print '#pragma once' print '#define DEBIAN_VERSION "%s"' % version |