HomePhorge

(#11847) Don't hard code ruby install paths in Windows batch files
7edaed5f04aaUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#11847) Don't hard code ruby install paths in Windows batch files

Previously, the {filebucket,pi,puppet,puppetdoc,ralsh}.bat files hard
coded the path to the ruby installation, making it impossible to move
the ruby install directory.

This commit changes the script to use the %~dp0 batch file modifier,
which resolves to the drive letter and path of the directory of the
batch file being executed.

Windows XP and later all support the %* modifier, so this commit
removes the Win 9x code paths that are not supported.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUf755dcb5e3ca: Merge remote-tracking branch 'pcarlisle/hostname-not-match' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU7edaed5f04aa: (#11847) Don't hard code ruby install paths in Windows batch files (authored by Josh Cooper <josh@puppetlabs.com>).Jan 10 2012, 7:18 AM