summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@nokia.com>2010-03-01 11:58:30 (GMT)
committerZeno Albisser <zeno.albisser@nokia.com>2010-03-01 12:21:54 (GMT)
commit6f69f40b7bf8b638444b72aea4565611c0db4dc9 (patch)
tree6e6703edc2b834fad2cc72035de105b2f67d43e7 /bin
parenta66bd0027d0708ddb11c5fbba8cc6411135c9110 (diff)
downloadQt-6f69f40b7bf8b638444b72aea4565611c0db4dc9.zip
Qt-6f69f40b7bf8b638444b72aea4565611c0db4dc9.tar.gz
Qt-6f69f40b7bf8b638444b72aea4565611c0db4dc9.tar.bz2
Updated syncqt to use relative include paths on cygwin as well.
Reviewed-by: TrustMe
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 6fb21dd..be4af2a 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -356,12 +356,13 @@ sub fixPaths {
#setup
my $ret = $file;
+ $ret =~ s,/cygdrive/([a-zA-Z])/,$1:/,g;
my $file_dir = dirname($file);
if($file_dir eq ".") {
$file_dir = getcwd();
$file_dir =~ s=\\=/=g;
}
- $file_dir =~ s,/cygdrive/([a-zA-Z])/,$1:,g;
+ $file_dir =~ s,/cygdrive/([a-zA-Z])/,$1:/,g;
if($dir eq ".") {
$dir = getcwd();
$dir =~ s=\\=/=g;