aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/scriptcs.rb
diff options
context:
space:
mode:
authorJack Nagel2015-03-23 21:03:55 -0400
committerJack Nagel2015-03-24 21:03:45 -0400
commitc2b8017e68068eca9589aa6020da800f0e668264 (patch)
tree023d2fc15ab30fa1f25735a0e486cb92548faee6 /Library/Formula/scriptcs.rb
parent0bc8c8c299a9130042d802b55ea932266aedc5fd (diff)
downloadhomebrew-c2b8017e68068eca9589aa6020da800f0e668264.tar.bz2
Always pass basename to install_p
Currently, when called with one argument, dst is set to self, i.e. the directory into which the source file should be moved. When called with a second argument (for renames), dst is the full path, including the basename, to the moved file. Instead, let's always pass the full path, which means we can remove the branching logic around computing dst.
Diffstat (limited to 'Library/Formula/scriptcs.rb')
0 files changed, 0 insertions, 0 deletions