Browse files

Env variables now take precendence over package variables.

  • Loading branch information...
1 parent 9bb66b4 commit 4dab278515218d0634d9d7095d908cf7ee702fe5 @jberger jberger committed Mar 16, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 lib/Alien/Base/ModuleBuild.pm
View
7 lib/Alien/Base/ModuleBuild.pm
@@ -32,8 +32,11 @@ my %default_repository_class = (
local => 'Alien::Base::ModuleBuild::Repository::Local',
);
-our $Verbose ||= $ENV{ALIEN_VERBOSE};
-our $Force ||= $ENV{ALIEN_FORCE};
+our $Verbose;
+$Verbose = $ENV{ALIEN_VERBOSE} if defined $ENV{ALIEN_VERBOSE};
+
+our $Force;
+$Force = $ENV{ALIEN_FORCE} if defined $ENV{ALIEN_FORCE};
################
# Parameters #

0 comments on commit 4dab278

Please sign in to comment.