The following commit has been merged in the master branch:
commit 3a45d331db06d66d8890dc53df76d26fe6ed1e2f
Author: James Vega <[email protected]>
Date:   Fri Feb 18 22:31:33 2011 -0500

    build-rdeps: Correct a few debug prints
    
    Signed-off-by: James Vega <[email protected]>

diff --git a/scripts/build-rdeps.pl b/scripts/build-rdeps.pl
index ed6dec6..1a6ea36 100755
--- a/scripts/build-rdeps.pl
+++ b/scripts/build-rdeps.pl
@@ -169,7 +169,7 @@ sub test_for_valid_component {
        return -1;
     }
 
-    print STDERR "DEBUG: Component ($_) may not be excluded.\n" if 
($opt_debug);
+    print STDERR "DEBUG: Component ($filebase) may not be excluded.\n" if 
($opt_debug);
     return 0;
 }
 
@@ -210,7 +210,7 @@ sub addsources {
     $filename = "${base}_${filename}";
     if (test_for_valid_component($filename) == 0) {
        push(@source_files, $filename);
-       print STDERR "DEBUG: Added source file: $_\n" if ($opt_debug);
+       print STDERR "DEBUG: Added source file: $filename\n" if ($opt_debug);
     }
 }
 

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to