summaryrefslogtreecommitdiffstats
path: root/patches/0033-Fixed-useless-substitution-in-syncqt.patch
blob: caba312e7e7b7ad93bce85c3d7f1471d1b63f856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 70d9faa7a308c4cefd07be0a43e7513bf6b6065c Mon Sep 17 00:00:00 2001
From: axis <qt-info@nokia.com>
Date: Mon, 3 Jan 2011 19:18:14 +0100
Subject: [PATCH] Fixed useless substitution in syncqt.

The substitution is not necessary and messes up the argument that is
passed in.
---
 qtbase/bin/syncqt |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/qtbase/bin/syncqt b/qtbase/bin/syncqt
index a6d7af1..72b9be0 100755
--- a/qtbase/bin/syncqt
+++ b/qtbase/bin/syncqt
@@ -305,7 +305,6 @@ sub syncHeader {
 ######################################################################
 sub fixPaths {
     my ($file, $dir) = @_;
-    $dir =~ s=^$quoted_basedir/=$out_basedir/= if(!($basedir eq $out_basedir));
     $file =~ s=\\=/=g;
     $dir =~ s=\\=/=g;
 
-- 
1.7.3.4