aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ghostscript.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-27 17:41:42 -0500
committerJack Nagel2014-03-27 17:54:07 -0500
commit212d5dab69b88ba06d51bc796e70bba2701eee57 (patch)
treef5d34e1603d6b053ff455ef35e80e279ac1c9bb4 /Library/Formula/ghostscript.rb
parentb3f479a5e8e26b943e1f99ef56c1941968987640 (diff)
downloadhomebrew-212d5dab69b88ba06d51bc796e70bba2701eee57.tar.bz2
Fix overly defensive handling of src parameter in make_relative_symlink
This method is for internal use only. It is unsuitable for use in formulae, which should use install_symlink to create relative symlinks. Thus callers are required to pass a Pathname, not a string, and we can remove this conditional. Further, if src is not absolute, then src.relative_path_from(dirname) will fail. All callers currently pass absolute pathnames. Therefore we don't need to call expand_path when printing it.
Diffstat (limited to 'Library/Formula/ghostscript.rb')
0 files changed, 0 insertions, 0 deletions