Lines Matching refs:outfile
618 if args.outfile and os.path.isdir(args.outfile):
619 outfile = None
620 outdir = args.outfile
622 outfile = args.outfile
624 if outfile and outfile != '-':
625 if os.path.exists(outfile):
626 logger.error('Output file %s already exists' % outfile)
647 if outfile:
648 recipefn = os.path.splitext(os.path.basename(outfile))[0]
781 if not outfile:
791 outfile = '%s_%s.bb' % (pn, suffix)
793 outfile = '%s_%s.bb' % (pn, realpv)
795 outfile = '%s.bb' % pn
797 outfile = os.path.join(outdir, outfile)
799 if os.path.exists(outfile):
800 logger.error('Output file %s already exists' % outfile)
805 if outfile == '-':
808 extraoutdir = os.path.join(os.path.dirname(outfile), pn)
888 if outfile == '-':
891 with open(outfile, 'w') as f:
899 …been created; further editing may be required to make it fully functional' % outfile, args.devtool)