Lines Matching refs:outdir
13 outdir = None variable
34 global outdir, preserve_outdir
38 outdir = dirname
39 if not os.path.isdir(outdir):
41 os.makedirs(outdir)
44 (outdir, err.strerror))
45 tout.Debug("Using output directory '%s'" % outdir)
47 outdir = tempfile.mkdtemp(prefix='binman.')
48 tout.Debug("Using temporary directory '%s'" % outdir)
51 global outdir
53 shutil.rmtree(outdir)
54 tout.Debug("Deleted temporary directory '%s'" % outdir)
55 outdir = None
58 global outdir, preserve_outdir
61 if outdir and not preserve_outdir:
73 return os.path.join(outdir, fname)
77 global outdir
79 if outdir: