Commit 2335b9c0 authored by Guido Gunther's avatar Guido Gunther
Browse files

Merge branch 'dir-name-fix' into 'main'

Change start of name of temporary directory from devkit_image_ to tmp_image_.

Closes #6

See merge request !12
parents d825f0a1 2ba28e95
Pipeline #73398 failed with stages
in 6 minutes and 2 seconds
......@@ -431,7 +431,8 @@ def main():
if board in ["librem5r3", 'librem5r4']:
uuu_mods = "CFG: SDP: -chip MX8MQ -compatible MX8MQ -vid 0x316d -pid 0x4c05"
outdir = args.dir if args.dir is not None else tempfile.mkdtemp(prefix='devkit_image_', dir='.')
dirprefix = 'tmp_' + os.path.basename(sys.argv[0]) + '_'
outdir = args.dir if args.dir is not None else tempfile.mkdtemp(prefix=dirprefix, dir='.')
try:"Downloading to {}".format(outdir))
if args.dir == outdir:
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