summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorCameron Thomas <cameron@puppetlabs.com>2011-07-22 14:31:59 -0700
committerCameron Thomas <cameron@puppetlabs.com>2011-07-22 14:31:59 -0700
commitca2f159caed691936bd9e87b59ccddc764066aa2 (patch)
tree8bd10ed0a90dcfebd4e1511b3743bb6d422b0449 /bin
parentb1526216d1e47726bae78a884a0db2666101e34a (diff)
downloadpuppet-ca2f159caed691936bd9e87b59ccddc764066aa2.tar.gz
puppet-ca2f159caed691936bd9e87b59ccddc764066aa2.tar.xz
puppet-ca2f159caed691936bd9e87b59ccddc764066aa2.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>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions