virt-win-reg: systemroot macro should be replaced case insensitive.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 17 May 2011 21:53:53 +0000 (22:53 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 17 May 2011 21:53:53 +0000 (22:53 +0100)
tools/virt-win-reg

index 333bd15..56dd6d6 100755 (executable)
@@ -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;