Skip to content
Snippets Groups Projects
Commit df123824 authored by Ludovico de Nittis's avatar Ludovico de Nittis :palm_tree:
Browse files

populate-depot: Use absolute path for the cache directory


When we use `tar` we change the current directory with `-C`. If we use a
relative path for `cache`, `tar` will complain that the argument we
provide doesn't exist.

Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
parent f204d228
No related tags found
1 merge request!41populate-depot: Use absolute path for the cache directory
Pipeline #12546 passed
...@@ -102,7 +102,7 @@ class Runtime: ...@@ -102,7 +102,7 @@ class Runtime:
version: str = 'latest', version: str = 'latest',
) -> None: ) -> None:
self.architecture = architecture self.architecture = architecture
self.cache = cache self.cache = os.path.abspath(cache)
self.images_uri = images_uri self.images_uri = images_uri
self.include_sdk = include_sdk self.include_sdk = include_sdk
self.name = name self.name = name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment