- # 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/;
+ # containing %systemroot% and %systemdrive% (on Win XP). 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/i;
+ s/%systemdrive%//i;