Skip to content

Commit c6981a0

Browse files
authored
Merge pull request ceph#61678 from phlogistonjohn/jjm-bwc-fixes-1
build-with-container fixes exec bit, dnf cache dir option Reviewed-by: Adam King <[email protected]> Reviewed-by: Redouane Kachach <[email protected]>
2 parents e24bb7e + cf0ed0a commit c6981a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/script/build-with-container.py

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,9 @@ def from_image(self):
282282
@property
283283
def dnf_cache_dir(self):
284284
if self.cli.dnf_cache_path and self.distro_cache_name:
285-
return (
286-
pathlib.Path(self.cli.dnf_cache_path) / self.distro_cache_name
287-
)
285+
path = pathlib.Path(self.cli.dnf_cache_path)/ self.distro_cache_name
286+
path = path.expanduser()
287+
return path.resolve()
288288
return None
289289

290290
@property

0 commit comments

Comments
 (0)