From: Steve McIntyre Date: Thu, 24 Oct 2019 10:58:27 +0000 (+0100) Subject: use tmpDir when creating images with jigdo-lite X-Git-Tag: 0.8.0~63 X-Git-Url: https://git.einval.com/cgi-bin/gitweb.cgi?p=jigdo.git;a=commitdiff_plain;h=6618e16b5ef094e40e17e34c90345f58c1be07b0 use tmpDir when creating images with jigdo-lite --- diff --git a/scripts/jigdo-lite b/scripts/jigdo-lite index 7c559b8..e09fb24 100755 --- a/scripts/jigdo-lite +++ b/scripts/jigdo-lite @@ -514,7 +514,7 @@ imageDownload() { list="$image.list" # Create name of temporary dir, by stripping extension from $image - imageTmp="`echo $image | sed 's%\.\(tmp|iso|raw\)%%'`" + imageTmp="$tmpDir/`echo $image | sed 's%\.\(tmp|iso|raw\)%%'`.tmpdir" if test -f "$imageTmp" -o "x$imageTmp" = "x$image"; then imageTmp="$imageTmp.tmpdir" fi