chrootsetup: add optional 3rd argument to pull_in_bin
commit8486ffdbc316838423e2d3e69ca42c7f581a0234
authorKyle J. McKay <mackyle@gmail.com>
Wed, 17 Sep 2014 23:25:31 +0000 (17 16:25 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 17 Sep 2014 23:25:31 +0000 (17 16:25 -0700)
tree7cd2ac326771286bf0b3e1dc3632df8df24d797c
parent544d518d11b6fac9cd0c89e6ed6ca272aea2fbaf
chrootsetup: add optional 3rd argument to pull_in_bin

If the 3rd argument is given and exists in the destination
directory and is the same as the binary being copied in
then just create a hard link instead.

If the 3rd argument is the same as the basename of the binary
being copied in then ignore it.
chrootsetup_freebsd.sh
chrootsetup_linux.sh