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

Reply via email to