Skip to content

Commit 7f90250

Browse files
committed
Fixed paths being passed to _run in base.cpio
Signed-off-by: Zen <[email protected]>
1 parent 0a91027 commit 7f90250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ugrd/base/cpio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = 'desultory'
2-
__version__ = '1.2.0'
2+
__version__ = '1.2.1'
33

44

55
from subprocess import run, CompletedProcess
@@ -18,7 +18,7 @@ def build_gen_init_cpio(self, cpio_path: Path) -> CompletedProcess:
1818

1919
if source_file.exists():
2020
self.logger.info("Building gen_init_cpio at: %s" % source_file)
21-
return self._run(['gcc', '-o', cpio_path, source_file])
21+
return self._run(['gcc', '-o', str(cpio_path), str(source_file)])
2222
else:
2323
raise FileNotFoundError("gen_init_cpio source file not found at: %s" % source_file)
2424

0 commit comments

Comments
 (0)