From: Richard W.M. Jones Date: Tue, 17 May 2011 21:53:53 +0000 (+0100) Subject: virt-win-reg: systemroot macro should be replaced case insensitive. X-Git-Tag: 1.11.8~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4a6890d824b6bcb811e0dca9a0e77d81451a9056;p=libguestfs.git virt-win-reg: systemroot macro should be replaced case insensitive. --- 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;