Skip to content

Commit 7275ca1

Browse files
committed
fixed suffix
Signed-off-by: Zen <[email protected]>
1 parent 9640aab commit 7275ca1

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__ = "0.0.3"
2+
__version__ = "0.0.4"
33

44
from subprocess import run
55

@@ -8,7 +8,7 @@ def build_gen_init_cpio(self):
88
"""
99
Builds the gen_init_cpio source file if it exists
1010
"""
11-
source_file = self.config_dict['gen_init_cpio_path'] / ".c"
11+
source_file = self.config_dict['gen_init_cpio_path'].with_suffix(".c")
1212
if source_file.exists():
1313
self.logger.info("Building gen_init_cpio at: %s" % source_file)
1414
return self._run(['gcc', '-o', self.config_dict['gen_init_cpio_path'], source_file])

0 commit comments

Comments
 (0)