diff --git a/pressure-vessel/build-relocatable-install.py b/pressure-vessel/build-relocatable-install.py
index 79b08c6f384a02f2bc54691085e562cc35187055..03b5f6690a9fc561728d8a701e8c51b882bf09e9 100755
--- a/pressure-vessel/build-relocatable-install.py
+++ b/pressure-vessel/build-relocatable-install.py
@@ -118,6 +118,8 @@ LIBCAPSULE_TOOLS = [
 
 def install(src, dst, mode=0o644):
     # type: (str, str, int) -> None
+
+    os.makedirs(os.path.dirname(dst), exist_ok=True)
     shutil.copy(src, dst)
 
     if os.path.isdir(dst):
@@ -342,6 +344,7 @@ def main():
                         installation,
                         'libexec',
                         'steam-runtime-tools-0',
+                        os.path.basename(tool),
                     ),
                 )