mirror of https://github.com/containers/podman.git
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:
parent
e79c47bc0c
commit
527fd3c0fa
|
@ -32,7 +32,8 @@
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Property Id="setx" Value="setx.exe"/>
|
<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">
|
<Feature Id="Complete" Level="1">
|
||||||
<ComponentRef Id="INSTALLDIR_Component"/>
|
<ComponentRef Id="INSTALLDIR_Component"/>
|
||||||
|
|
Loading…
Reference in New Issue