sb: Use shebang env python

Closes #4037
This commit is contained in:
Chris Johns
2020-08-25 21:21:50 +10:00
parent 40af487dfc
commit 650c6f9933
46 changed files with 469 additions and 713 deletions

View File

@@ -31,11 +31,11 @@ import os
import sys
try:
import build
import error
import log
import simhost
import version
from . import build
from . import error
from . import log
from . import simhost
from . import version
except KeyboardInterrupt:
print('abort: user terminated', file = sys.stderr)
sys.exit(1)
@@ -76,7 +76,7 @@ def run(args = sys.argv):
action = 'store_true')
argsp.add_argument('bsets', nargs='*', help = 'Build sets.')
argopts = argsp.parse_args(args[2:])
argopts = argsp.parse_args(args[1:])
simhost.load_log(argopts.log)
log.notice('RTEMS Source Builder - Get Sources, %s' % (version.string()))