Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(puppetlabs#8660) Fix destdir option on Windows
Specifying the --destdir option failed on windows because the install script attempted to concatenate two absolute paths together. On Unix, this is fine, but on Windows, it fails because the colon (part of the drive specifier) is not a valid filename character. This commit adds a method to join two paths, stripping off the drive specifier, if present. Also fixed a minor bug, which caused a deprecation warning to always be printed when the --destdir option is omitted, which is the default case. Reviewed-by: Cameron Thomas <[email protected]> (cherry picked from commit f600617)
- Loading branch information