Skip to content

Commit 2f0245f

Browse files
committed
Create the extract dir, which may not be the same as the import dir
1 parent e2d88e8 commit 2f0245f

File tree

1 file changed

+4
-0
lines changed
  • var/ramble/repos/builtin/modifiers/pyxis-enroot

1 file changed

+4
-0
lines changed

var/ramble/repos/builtin/modifiers/pyxis-enroot/modifier.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ def _extract_from_sqsh(self, workspace, app_inst=None):
258258
)
259259
container_path = self.expander.expand_var_name("container_path")
260260

261+
if not os.path.exists(container_extract_dir):
262+
if not workspace.dry_run:
263+
fs.mkdirp(container_extract_dir)
264+
261265
unsquash_args = [
262266
"-f",
263267
"-dest",

0 commit comments

Comments
 (0)