summaryrefslogtreecommitdiff
path: root/make/unit-cc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'make/unit-cc.pl')
-rwxr-xr-xmake/unit-cc.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/make/unit-cc.pl b/make/unit-cc.pl
index aba14a0bc..a06d7b10f 100755
--- a/make/unit-cc.pl
+++ b/make/unit-cc.pl
@@ -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";