mirror of
https://github.com/containers/podman.git
synced 2025-10-20 20:54:45 +08:00
Escape trailing slash in install directory location so the closing quote is not escaped
Fixes #11416 [NO NEW TESTS NEEDED] Signed-off-by: Jason Greene <jason.greene@redhat.com>
This commit is contained in:

committed by
Matthew Heon

parent
0657204161
commit
a21c5d184e
@ -32,7 +32,8 @@
|
||||
</Directory>
|
||||
|
||||
<Property Id="setx" Value="setx.exe"/>
|
||||
<CustomAction Id="ChangePath" ExeCommand="PATH "%PATH%;[INSTALLDIR]"" Property="setx" Execute="deferred" Impersonate="yes" Return="check"/>
|
||||
<!-- Directory table entries have a trailing slash, so an extra backslash is needed to prevent escaping the quote -->
|
||||
<CustomAction Id="ChangePath" ExeCommand="PATH "%PATH%;[INSTALLDIR]\"" Property="setx" Execute="deferred" Impersonate="yes" Return="check"/>
|
||||
|
||||
<Feature Id="Complete" Level="1">
|
||||
<ComponentRef Id="INSTALLDIR_Component"/>
|
||||
|
Reference in New Issue
Block a user