Merge branch 'Marc2020' of magit1.mpie.de:damask/DAMASK into Marc2020
This commit is contained in:
commit
a08c50d44c
|
@ -2,4 +2,4 @@
|
|||
set DAMASK_NUM_THREADS = 4
|
||||
|
||||
set MSC_ROOT = /opt/msc
|
||||
set MARC_VERSION = 2020
|
||||
set MARC_VERSION = 2019.1
|
||||
|
|
|
@ -23,8 +23,8 @@ parser.add_argument('--editor', dest='editor', metavar='string', default='vi',
|
|||
def copy_and_replace(in_file,dst):
|
||||
with open(in_file) as f:
|
||||
content = f.read()
|
||||
content = content.replace('%INSTALLDIR%',str(damask_root/'bin'))
|
||||
content = content.replace('%VERSION%',str(marc_version).replace('.0',''))
|
||||
content = content.replace('%INSTALLDIR%',msc_root)
|
||||
content = content.replace('%VERSION%',str(marc_version))
|
||||
content = content.replace('%EDITOR%', parser.parse_args().editor)
|
||||
with open(dst/Path(in_file).name,'w') as f:
|
||||
f.write(content)
|
||||
|
|
Loading…
Reference in New Issue