summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-07-17 15:39:54 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-27 16:19:43 +0200
commit444cbd53e25aeca5e3ebb4eaf01f3de190d98f00 (patch)
tree7622409d7a46f4c8159582335a540f213ac052b5 /bin
parentef403ba46a0fc28f9209d66de153e4a44ab635ff (diff)
make sure that the stale header removal works the first time around
sort backwards by ascii, so that the lowercase headers come first - otherwise the camelcase headers would survive the first round, as they include the lowercase forwarding headers which were not deleted yet. Change-Id: Iece2788206d31a11428f38da8d8f9f4d0b6dc992 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.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 359e854d05..7589e696a4 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -821,7 +821,7 @@ foreach my $lib (@modules_to_sync) {
my @subdirs = ("$out_basedir/include/$lib");
foreach my $subdir (@subdirs) {
if (opendir DIR, $subdir) {
- foreach my $t (sort readdir(DIR)) {
+ foreach my $t (sort { $b cmp $a } readdir(DIR)) {
my $file = "$subdir/$t";
if(-d $file) {
push @subdirs, $file unless($t eq "." || $t eq "..");