Changeset 3680 for trunk/makeBat.py


Ignore:
Timestamp:
Oct 17, 2018 12:57:25 PM (3 years ago)
Author:
toby
Message:

add activate to windows bat file updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makeBat.py

    r3679 r3680  
    6262    fp.write("@REM created by run of bootstrap.py on {:%d %b %Y %H:%M}\n".format(
    6363        datetime.datetime.now()))
    64     activate = "call "+os.path.join(os.path.split(gsaspath)[0],'Scripts','activate')
     64    activate = os.path.join(os.path.split(gsaspath)[0],'Scripts','activate')
    6565    print(activate)
    6666    if os.path.exists(activate):
    6767        print('adding activate to .bat file')
    68         activate = os.path.realpath(activate) + '\n'
     68        activate = "call "+os.path.realpath(activate) + '\n'
    6969    else:
    7070        print('activate not found')
Note: See TracChangeset for help on using the changeset viewer.