git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12920 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2015-01-09 16:54:12 +00:00
parent 1c7c0f780e
commit 88363415b7
1 changed files with 5 additions and 3 deletions

View File

@ -2057,8 +2057,10 @@ while 1:
# write current Make.py command to src/Make.py.last
argstr = switch2str(switches,switch_order)
open("%s/Make.py.last" % dir.src,'w').write(argstr + '\n')
fp = open("%s/Make.py.last" % dir.src,'w')
print >>fp,"# last invoked Make.py command"
print >>fp,switch2str(switches,switch_order)
fp.close()
# if not redoflag, done