summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-04-29 18:48:11 +0300
committerLars Wirzenius <liw@liw.fi>2023-04-29 18:48:11 +0300
commit316526a192b5c5c21e7faa3ed326dd43c1d4b9fe (patch)
tree14e1e4325a6a7f5595607d9a7057f4540479a762
parent71e42ba0b9704caba10e9baddad25140662a0f3a (diff)
downloadvmdb2-316526a192b5c5c21e7faa3ed326dd43c1d4b9fe.tar.gz
output filenames
Sponsored-by: author
-rwxr-xr-xcheck-one6
1 files changed, 3 insertions, 3 deletions
diff --git a/check-one b/check-one
index 4532cb9..c49ec55 100755
--- a/check-one
+++ b/check-one
@@ -66,11 +66,11 @@ class Config:
return p.stdout.decode().strip()
def log(self):
- return os.path.join(self.tarball_directory, "check.log")
+ log = f"{self.debootstrap_release()}_{self.arch()}.log"
+ return os.path.join(self.tarball_directory, log)
def image(self):
- basename, _ = os.path.splitext(os.path.basename(self.vmdb_filename))
- image = f"{basename}.img"
+ image = f"{self.debootstrap_release()}_{self.arch()}.img"
return os.path.join(self.tarball_directory, image)
def tarball(self):