diff options
author | Ariel Constenla-Haile <arielch@apache.org> | 2011-11-20 21:24:16 +0000 |
---|---|---|
committer | Ariel Constenla-Haile <arielch@apache.org> | 2011-11-20 21:24:16 +0000 |
commit | 26b698ff05bb36bd39ce4c1c1e4adb8b6baaaeba (patch) | |
tree | 79245e2c24cb9532c420406e0ed14793d5333d4e | |
parent | 11862b42ad892f47ec71836dbdabe8f6600c5439 (diff) |
i118615 - make epm more verbose
-rw-r--r-- | solenv/bin/modules/installer/epmfile.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/epmfile.pm b/solenv/bin/modules/installer/epmfile.pm index 89da2da61101..89fbc1c52fe4 100644 --- a/solenv/bin/modules/installer/epmfile.pm +++ b/solenv/bin/modules/installer/epmfile.pm @@ -943,7 +943,10 @@ sub call_epm my $extraflags = ""; if ($ENV{'EPM_FLAGS'}) { $extraflags = $ENV{'EPM_FLAGS'}; } - my $systemcall = $ldpreloadstring . $epmname . " -f " . $packageformat . " " . $extraflags . " " . $localpackagename . " " . $epmlistfilename . $outdirstring . " -v " . " 2\>\&1 |"; + my $verboseflag = "-v"; + if ( ! $installer::globals::quiet ) { $verboseflag = "-v2"; }; + + my $systemcall = $ldpreloadstring . $epmname . " -f " . $packageformat . " " . $extraflags . " " . $localpackagename . " " . $epmlistfilename . $outdirstring . " " . $verboseflag . " " . " 2\>\&1 |"; installer::logger::print_message( "... $systemcall ...\n" ); |