From 4a6890d824b6bcb811e0dca9a0e77d81451a9056 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 17 May 2011 22:53:53 +0100 Subject: [PATCH] virt-win-reg: systemroot macro should be replaced case insensitive. --- tools/virt-win-reg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virt-win-reg b/tools/virt-win-reg index 333bd15..56dd6d6 100755 --- a/tools/virt-win-reg +++ b/tools/virt-win-reg @@ -486,7 +486,7 @@ sub lookup_pip_of_user_sid # containing %systemroot%. Expand it and remove some other # windows-isms. The caller will do case_sensitive_path for us, so # we don't need to do that. - s/%systemroot%/$systemroot/; + s/%systemroot%/$systemroot/i; s/^c://i; s,\\,/,g; -- 1.8.3.1