HomePhorge

(#11714) Use `%~dp0` to resolve bat file's install directory
5accc69fb145Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#11714) Use %~dp0 to resolve bat file's install directory

This commit uses the %~dp0 batch script modifier to resolve the
drive and path of the directory containing the envpuppet.bat
file. This eliminates the need for hard coded paths within the script
itselfIt also uses %VAR:\=/% to substitute each backslash for a
forward slash in the RUBYLIB environment

Also added a section about running the spec tests on Windows.

Reviewed-By: Jeff McCune <jeff@puppetlabs.com>

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU24af732ef95f: (#11714) Add envpuppet batch file to run Puppet from source on Windows
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU5accc69fb145: (#11714) Use `%~dp0` to resolve bat file's install directory (authored by Josh Cooper <josh@puppetlabs.com>).Jan 10 2012, 10:00 PM