mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-13 20:47:53 -06:00
fix: generate bin directory first
This commit is contained in:
parent
96eb08af6a
commit
5c769fc905
1 changed files with 1 additions and 1 deletions
|
@ -1724,9 +1724,9 @@ class Viv:
|
|||
f"Write shim for {a.bold}{bin}{a.end} to {a.green}{output}{a.end}?",
|
||||
yes=yes,
|
||||
):
|
||||
output.parent.mkdir(exist_ok=True, parents=True)
|
||||
with output.open("w") as f:
|
||||
f.write(self.t.shim(path, self.local_source, standalone, spec, bin))
|
||||
|
||||
make_executable(output)
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue