should have used shortname for mock root

This commit is contained in:
Louis Abel 2022-07-11 15:54:03 -07:00
parent 9e4f89cf6d
commit cee688b2c2
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36

View File

@ -530,7 +530,7 @@ class IsoBuild:
rclevel = '-' + self.rclvl rclevel = '-' + self.rclvl
discname = '{}-{}.{}{}-{}-{}.iso'.format( discname = '{}-{}.{}{}-{}-{}.iso'.format(
self.shortname.lower(), self.shortname,
self.major_version, self.major_version,
self.minor_version, self.minor_version,
rclevel, rclevel,
@ -1859,7 +1859,7 @@ class LiveBuild:
self.date self.date
) )
live_res_dir = '/var/lib/mock/{}-{}-{}/result'.format( live_res_dir = '/var/lib/mock/{}-{}-{}/result'.format(
self.shortname, self.shortname.lower(),
self.major_version, self.major_version,
arch arch
) )