mirror of
https://gitlab.com/scemama/EZFIO.git
synced 2024-12-23 04:43:35 +01:00
14 lines
242 B
Plaintext
14 lines
242 B
Plaintext
|
#!/usr/bin/python
|
||
|
|
||
|
import os,sys
|
||
|
ROOT = os.path.dirname(__file__)+'/../../'
|
||
|
file = open(ROOT+'version','r')
|
||
|
lines = file.readlines()
|
||
|
file.close()
|
||
|
file = open(sys.argv[1],'a')
|
||
|
print >>file, 'Version:'+lines[0].split('=')[1]
|
||
|
file.close()
|
||
|
|
||
|
|
||
|
|