Commit d0945de
committed
formula: mkpath bin before writing the launcher
Nothing creates <prefix>/bin in this formula — the payload goes to libexec —
and Homebrew's Pathname#write does not create parent directories. (Its own
write_env_script calls dirname.mkpath by hand for exactly this reason,
extend/pathname.rb:347.) Without this, install dies on Errno::ENOENT at the
very first user's `brew install`.
Pathname#install is unaffected: install_p mkpaths its destination
(extend/pathname.rb:487), so libexec/prefix/doc installs were already fine.1 parent 1789e89 commit d0945de
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
| |||
0 commit comments