Skip to content
Snippets Groups Projects
Commit b8f21c31 authored by Simon McVittie's avatar Simon McVittie
Browse files

build-relocatable: Make sure s-r-t helpers go into their directory


Previously we didn't create it if it didn't exist, so the tools all
overwrote each other.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 2af47b18
No related branches found
No related tags found
No related merge requests found
...@@ -118,6 +118,8 @@ LIBCAPSULE_TOOLS = [ ...@@ -118,6 +118,8 @@ LIBCAPSULE_TOOLS = [
def install(src, dst, mode=0o644): def install(src, dst, mode=0o644):
# type: (str, str, int) -> None # type: (str, str, int) -> None
os.makedirs(os.path.dirname(dst), exist_ok=True)
shutil.copy(src, dst) shutil.copy(src, dst)
if os.path.isdir(dst): if os.path.isdir(dst):
...@@ -342,6 +344,7 @@ def main(): ...@@ -342,6 +344,7 @@ def main():
installation, installation,
'libexec', 'libexec',
'steam-runtime-tools-0', 'steam-runtime-tools-0',
os.path.basename(tool),
), ),
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment