This commit is contained in:
Brad Nelson
2023-12-24 13:38:22 -08:00
parent 8f0aaba643
commit bf21b0f3c2
3 changed files with 14 additions and 11 deletions

View File

@ -99,7 +99,7 @@ def Process():
if args.depsout:
with open(args.depsout, 'w') as fh:
fh.write(args.o + ': ' +
' '.join([os.path.relpath(i) for i in imported]) + '\n')
' '.join([os.path.relpath(i) for i in sorted(imported)]) + '\n')
# Emit expanded file.
if not args.no_out:
with open(args.o, 'w') as fh: