diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-07-27 17:28:33 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-07-29 08:55:35 (GMT) |
commit | 9e846d7b36124087708f08a10bb677a878875f92 (patch) | |
tree | 29df4abf81b80c8f62fdeaac2b5001625bc59c0f /bin | |
parent | 77fda24918bff693a20ae11eae64809a9c4689dd (diff) | |
download | Qt-9e846d7b36124087708f08a10bb677a878875f92.zip Qt-9e846d7b36124087708f08a10bb677a878875f92.tar.gz Qt-9e846d7b36124087708f08a10bb677a878875f92.tar.bz2 |
fix epic fail from 4ba6646
Reviewed-by: joerg
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/syncqt | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -994,14 +994,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") && |