[PATCH chere 1/4] chere: fix list command
"Vadim \(vadcx\) via Cygwin-apps" <[email protected]>
| Newsgroups | gmane.os.cygwin.applications |
|---|---|
| Message-ID | <a2c060b1e3924785486d9fc0b844b7955a08a3d3.1754454202.git.vad.git@vad.cx> |
From: "Vadim (vadcx)" <[email protected]> The variable wasn't expanding due to poor quoting --- src/chere | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chere b/src/chere index b1d27b0..4d9730b 100755 --- a/src/chere +++ b/src/chere @@ -740,7 +740,7 @@ read_chere_registry_keys() # PFX - Registry prefix to use for cygwin keys list_cygwin_registry_keys() { - $REGTOOL_ list $1 2> /dev/null | sed -n 's/$PFX\(.*\)/\1/gp' + $REGTOOL_ list "$1" 2> /dev/null | sed -n 's/'"$PFX"'\(.*\)/\1/gp' } # Install keys under $1 for shell $2 -- 2.50.1