[OpenAFS-devel] pinstall versus install-sh

Russ Allbery rra@stanford.edu
Thu, 22 Dec 2005 11:34:02 -0800


Jeffrey Hutzelman <jhutz@cmu.edu> writes:

> Also, beware that the default behavior of install-sh is to _move_ the
> file to be installed, rather than copying it.  This has the unfortunate
> side-effect of destroying the source directory.

Yeah, I always pass -c to install.  (Why install-sh hasn't made -c a no-op
and changed to always copying years ago, I don't know.  GNU install did.
I think Autoconf may even add the -c for you automatically, although I
haven't checked.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>