Ignore:
Timestamp:
Jan 16, 2021 12:52:00 PM (8 months ago)
Author:
toby
Message:

more bootstrap fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install/g2pkg/src/bootstrap.py

    r4771 r4775  
    278278    svntmp = os.path.join(spath,'.svn','tmp')
    279279    if os.path.exists(os.path.join(spath,'.svn')) and not os.path.exists(svntmp):
    280         print('missing subversion tmp directory, fixing')       
    281         cmd = ['mkdir',svntmp]
    282         s = subprocess.Popen(cmd,stderr=subprocess.PIPE)
    283         out,err = MakeByte2str(s.communicate())
    284         if out: print(out)
    285         if err: print(err)
     280        print('missing subversion tmp directory, fixing')
     281        os.makedirs(svntmp,exist_ok=True)
    286282    if os.path.exists(os.path.join(spath,'.svn')):
    287283        cmd = [svn, 'cleanup', spath]
Note: See TracChangeset for help on using the changeset viewer.