]> git.proxmox.com Git - mirror_zfs.git/commit
make install only works once
authorMatthew Ahrens <mahrens@delphix.com>
Thu, 31 May 2018 16:19:59 +0000 (09:19 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 31 May 2018 16:19:59 +0000 (09:19 -0700)
commitd1f06ec5bccae26639b7bb6bd3925f9998848f86
treeb9b3a11932c34f96f52a2db0f14abf036153e250
parent928046b744a6d3f93f5ba1351a6d700a62535a00
make install only works once

`make install` shouldn't fail if a directory it created still exists.
In this case we can blow away the spl src directory before recreating
it.  This also gracefully handles the migration from pre-spl-merge to
post-spl-merge.

Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
Closes #7580
Makefile.am