]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/unit-cc.pl
Pass INSPIRCD_VERBOSE through the environment to unit-cc.
[user/henk/code/inspircd.git] / make / unit-cc.pl
index aba14a0bc461b5dd338d59ae91cf31e98abee6c0..a06d7b10f44692fc5fab1b4249b728877cf50f27 100755 (executable)
@@ -36,7 +36,6 @@ chdir $ENV{BUILDPATH};
 
 my $type = shift;
 my $out = shift;
-my $verbose = ($type =~ s/-v$//);
 
 our %config = read_configure_cache();
 
@@ -61,7 +60,7 @@ exit 1;
 
 sub message($$$) {
        my ($type, $file, $command) = @_;
-       if ($verbose) {
+       if ($ENV{INSPIRCD_VERBOSE}) {
                print "$command\n";
        } else {
                print_format "\t<|GREEN $type:|>\t\t$file\n";