summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-05-17 22:53:53 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-05-17 22:53:53 +0100
commit4a6890d824b6bcb811e0dca9a0e77d81451a9056 (patch)
tree39fc28c12780db44405dace85fa60125970261b8
parent598484729632d1207dc3e1493f27499de18d2242 (diff)
downloadlibguestfs-4a6890d824b6bcb811e0dca9a0e77d81451a9056.tar.gz
libguestfs-4a6890d824b6bcb811e0dca9a0e77d81451a9056.tar.xz
libguestfs-4a6890d824b6bcb811e0dca9a0e77d81451a9056.zip
virt-win-reg: systemroot macro should be replaced case insensitive.
-rwxr-xr-xtools/virt-win-reg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virt-win-reg b/tools/virt-win-reg
index 333bd158..56dd6d64 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;