summaryrefslogtreecommitdiffstats
path: root/lib/puppet/feature/base.rb
diff options
context:
space:
mode:
authorCameron Thomas <cameron@puppetlabs.com>2011-07-22 14:31:59 -0700
committerJacob Helwig <jacob@puppetlabs.com>2011-08-19 13:52:56 -0700
commitd9a693dc4431430fcfdc3ae15bee8b4a0985868f (patch)
tree597f9e8a23d2c657d2e8443a0f43d58a1cfc57b7 /lib/puppet/feature/base.rb
parent49d1e9da1381c77a3873965bad36ba6b33316882 (diff)
downloadpuppet-d9a693dc4431430fcfdc3ae15bee8b4a0985868f.tar.gz
puppet-d9a693dc4431430fcfdc3ae15bee8b4a0985868f.tar.xz
puppet-d9a693dc4431430fcfdc3ae15bee8b4a0985868f.zip
Regexp escape substituted commands in Windows wrapper script
Because Windows file paths can (and do) contain '\', they can end up being interpreted as back-references on the substitution side of gsub. Since this is not at all what is intended, we use Regexp.escape to quote them. Reviewed-by: Jacob Helwig <jacob@puppetlabs.com> (cherry picked from commit ca2f159caed691936bd9e87b59ccddc764066aa2)
Diffstat (limited to 'lib/puppet/feature/base.rb')
0 files changed, 0 insertions, 0 deletions