Author: adsb
Date: 2008-11-19 19:21:09 +0000 (Wed, 19 Nov 2008)
New Revision: 1736

Modified:
   trunk/scripts/build-rdeps.pl
Log:
Use == for numeric comparison rather than eq

Modified: trunk/scripts/build-rdeps.pl
===================================================================
--- trunk/scripts/build-rdeps.pl        2008-11-19 19:08:23 UTC (rev 1735)
+++ trunk/scripts/build-rdeps.pl        2008-11-19 19:21:09 UTC (rev 1736)
@@ -148,7 +148,7 @@
 
 sub findsources {
        if (/$source_pattern/ and $sources_count <= 3) {
-           if (test_for_valid_component($_) eq 0) {
+           if (test_for_valid_component($_) == 0) {
                push(@source_files, $_);
                $sources_count+=1;
                print STDERR "DEBUG: Added source file: $_ (#$sources_count)\n" 
if ($opt_debug);



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to