Issue #11848 has been updated by Josh Cooper.

Status changed from Accepted to In Topic Branch Pending Review
Branch set to https://github.com/puppetlabs/facter/pull/141


----------------------------------------
Bug #11848: facter.bat cannot be relocated on Windows
https://projects.puppetlabs.com/issues/11848

Author: Josh Cooper
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Josh Cooper
Category: installation
Target version: 1.6.x
Keywords: 
Branch: https://github.com/puppetlabs/facter/pull/141
Affected Facter version: 


Facter's `install.rb` script creates wrapper batch scripts in ruby's bin 
directory. The batch file contains full paths to where it was installed and its 
current working directory. This makes it impossible to move the ruby directory 
(and the script) and have the script still work. The preferred way of doing 
this on Windows is to use `%~dp0`, which is dynamically set to the full path of 
the directory that contains the script, i.e. what is currently `C:\Ruby187\bin`



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to