10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2024-06-25 06:32:09 +02:00
irpf90/tools/commit-msg

14 lines
222 B
Plaintext
Raw Normal View History

#!/usr/bin/env python
2009-09-02 20:45:53 +02:00
import os,sys
ROOT = os.path.dirname(__file__)+'/../../'
file = open(ROOT+'src/version.py','r')
exec file
file.close()
file = open(sys.argv[1],'a')
print >>file, 'Version:'+version
file.close()