File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 82
82
* [ BUG] Rework the logic of := and =: so that an empty entry is correctly preserved on multiple updates [ #5935 @dra27 - fix #5926 ]
83
83
* [ BUG] Fix incorrect reverting of ` =+ ` and ` =: ` [ #5935 @dra27 - fix #5926 ]
84
84
* For the ` Cygwin ` internal operator, don't allow ` make.exe ` to become shadowed [ #5996 @dra27 ]
85
+ * [ BUG] Fix incorrect quoting rule for ` PKG_CONFIG_PATH ` [ #5972 @dra27 - partial fix for #5923 ]
85
86
86
87
## Opamfile
87
88
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ let default_sep_fmt_str var =
29
29
| "PATH" when Sys. win32 ->
30
30
SSemiColon , Target_quoted
31
31
| "PKG_CONFIG_PATH" | "MANPATH" ->
32
- SColon , Target_quoted
32
+ SColon , Host
33
33
| _ -> default_separator, default_format
34
34
35
35
let default_sep_fmt var = default_sep_fmt_str (OpamStd.Env.Name. to_string var)
Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ Done.
23
23
### : already contains a directory which needs escaping (e.g. building with
24
24
### : MSVC)
25
25
### opam env --shell=cmd | grep "PATH" | 'XXX:.*' -> '' | 'set "P' -> 'set P'
26
- set " MANPATH=:" ${BASEDIR}/OPAM/rewriting/man""
26
+ set MANPATH=:${BASEDIR}/OPAM/rewriting/man
27
27
set PATH=${BASEDIR}/OPAM/rewriting/bin;C:\Devel\bin1;C:\Devel\bin2;"C:\Devel\bin3;";C:\Devel\bin4;ZZZ:\;
28
28
### opam exec -- opam env --shell=cmd --revert | grep 'ZZZ:' | 'ZZZ:\\.*' -> 'ZZZ:\' | 'set "P' -> 'set P'
29
29
### : Test for #5838
30
30
### opam env | grep MANPATH
31
- MANPATH=':" ${BASEDIR}/OPAM/rewriting/man" '; export MANPATH;
31
+ MANPATH=':${BASEDIR}/OPAM/rewriting/man'; export MANPATH;
32
32
### opam exec -- opam env --revert | grep MANPATH
33
33
MANPATH=''; export MANPATH;
34
34
### : Tests forward and backslash rewriting on revert
You can’t perform that action at this time.
0 commit comments