summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2013-04-20 12:13:58 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-20 11:35:10 +0200
commita27877c8e9e3bad148b394552862b90011f2a535 (patch)
tree577f1daab072a04fcd320605c610a67c39426b0b /bin
parent1b289379dc9d2ee1afee535d5db286e7f1eade60 (diff)
Handle more drive fix situations in syncqt
Normalize paths that begin with <drive_letter>:/ as well. Task-number: QTBUG-30638 Change-Id: Icdc7ee9782a358771d06ae2500d32e59e6bbe866 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/syncqt b/bin/syncqt
index a579cad41d..ce07af4895 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -69,7 +69,7 @@ my $normalizePath_fixDrive = ($^O eq "msys" ? 1 : 0);
sub normalizePath {
my $s = shift;
$$s =~ s=\\=/=g;
- if ($normalizePath_fixDrive && $$s =~ m,^/([a-zA-Z])/(.*),) {
+ if ($normalizePath_fixDrive && ($$s =~ m,^/([a-zA-Z])/(.*), || $$s =~ m,^([a-zA-Z]):/(.*),)) {
$$s = lc($1) . ":/$2";
}
}