summaryrefslogtreecommitdiffstats
path: root/bin/syncqt
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-08-05 09:58:55 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-08-05 09:58:55 (GMT)
commit2144aece152bc34faff5b25632e808e96d523f48 (patch)
tree7a3762788646792cd131f13ce4115111d16790fe /bin/syncqt
parentbabf1ff43584b454ac24728fbf93bf291b9f36d1 (diff)
parent1be2e830da7aa09f92d8cdca906f8a588cd10381 (diff)
downloadQt-2144aece152bc34faff5b25632e808e96d523f48.zip
Qt-2144aece152bc34faff5b25632e808e96d523f48.tar.gz
Qt-2144aece152bc34faff5b25632e808e96d523f48.tar.bz2
Merge remote branch 'lighthouse/4.7' into lighthouse-master
Diffstat (limited to 'bin/syncqt')
-rwxr-xr-xbin/syncqt8
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 62cbfc4..f4879e3 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -993,14 +993,12 @@ if($check_includes) {
for (keys(%modules)) {
#iteration info
my $lib = $_;
- my $dir = "$modules{$lib}";
- {
- my $current_dir = "$_";
+ {
#calc subdirs
- my @subdirs = ($current_dir);
+ my @subdirs = ($modules{$lib});
foreach (@subdirs) {
my $subdir = "$_";
- opendir DIR, "$subdir";
+ opendir DIR, "$subdir" or die "Huh, directory ".$subdir." cannot be opened.";
while(my $t = readdir(DIR)) {
push @subdirs, "$subdir/$t" if(-d "$subdir/$t" && !($t eq ".") &&
!($t eq "..") && !($t eq ".obj") &&