[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdesdk/scripts
From:       Allen Winter <winter () kde ! org>
Date:       2012-05-13 16:06:06
Message-ID: 20120513160606.79DC2AC85D () svn ! kde ! org
[Download RAW message or body]

SVN commit 1294626 by winterz:

don't try to do a find on a non-existant directory,
which can happen if doing dry-runs without any
existing checkouts.



 M  +3 -1      kde-checkout-list.pl  


--- trunk/KDE/kdesdk/scripts/kde-checkout-list.pl #1294625:1294626
@@ -31,7 +31,7 @@
 use LWP::Simple;		# used to fetch the xml db
 
 my($Prog) = 'kde-checkout-list.pl';
-my($Version) = '0.90';
+my($Version) = '0.91';
 
 my($help) = '';
 my($version) = '';
@@ -171,6 +171,7 @@
       $startDir .= "/$searchModule";
     }
   }
+  if ( -d $startDir ) {
   open(my $F, "find $startDir -name .git |");
   while (my $line = <$F>) {
     chomp $line;
@@ -182,6 +183,7 @@
     }
   }
 }
+}
 
 sub runCommand {
   my ( $command ) = @_;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic