aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-09-13 19:40:51 -0700
committerCharlie Sharpsteen2011-09-13 19:40:51 -0700
commitc3565c8d4c7927970e172c8a8bd330915ead958d (patch)
treedaa31b75e7b34e2165df087f50a606f35bb3bbb8 /Library/Formula
parente45362296e2263e679d3f50a6548db92cf981707 (diff)
downloadhomebrew-c3565c8d4c7927970e172c8a8bd330915ead958d.tar.bz2
formula_installer.rb: Call link before check_PATH
Otherwise, for formula that making the very first install into `sbin`, the following line will fail with a critical error: bin = (HOMEBREW_PREFIX/bin.basename).realpath.to_s Because `sbin` will not exist until after `link` runs. This isn't very clean as it moves `check_PATH` away from the other checks in `caveats`, but I couldn't think of a better hotfix that did not require a bit of code shuffling and re-writing.
Diffstat (limited to 'Library/Formula')
0 files changed, 0 insertions, 0 deletions