summaryrefslogtreecommitdiffstats
path: root/test/util/autoload.rb
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppetlabs.com>2011-07-29 09:42:57 -0700
committerJosh Cooper <josh@puppetlabs.com>2011-07-29 10:45:38 -0700
commitf6006177a85766cfb3387db6c3d337bf97b52f17 (patch)
tree754c8edc6f064a5ea79258bb4b3e764d8e673579 /test/util/autoload.rb
parent95b21dfde7d77a61633555f20f2e3b9675d48415 (diff)
downloadpuppet-f6006177a85766cfb3387db6c3d337bf97b52f17.tar.gz
puppet-f6006177a85766cfb3387db6c3d337bf97b52f17.tar.xz
puppet-f6006177a85766cfb3387db6c3d337bf97b52f17.zip
(#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 <cameron@puppetlabs.com>
Diffstat (limited to 'test/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions