Commit 7bd62a02 authored by Keith Bennett's avatar Keith Bennett

Merge branch 'release/1.4.3'

parents ecd5f85d 1e126144
......@@ -54,16 +54,16 @@ if got_argparse:
args = argp.parse_args()
else:
args = type("", (), dict(dummy=1))()
args.prefix = sys.argv[1]
args.prefix = sys.argv[2]
(args.pack_source_code,
args.pack_git_diff,
args.pack_git_diff_from_origin,
args.generate_checksum,
args.f77_output,) = map(str2bool, sys.argv[2:7])
args.outfile = sys.argv[7]
args.f77_output,) = map(str2bool, sys.argv[3:8])
args.outfile = sys.argv[8]
(args.compiler_info,
args.compiler_flags,) = map(stripped, sys.argv[8:10])
args.filelist = sys.argv[10:]
args.compiler_flags,) = map(stripped, sys.argv[9:11])
args.filelist = sys.argv[11:]
prefix = args.prefix
pack_source_code = args.pack_source_code
......@@ -80,7 +80,7 @@ varname = "%s_bytes" % prefix
diffname = "%s_diff_bytes" % prefix
module_name = "%s_source_info" % prefix
outfile = args.outfile
incfile = outfile.split('.')[0] + '_include.inc'
incfile = os.path.splitext(outfile)[0] + '_include.inc'
f77_output = args.f77_output
nbytes = 8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment