be silent when mode=execute
this fixes net/xchat
This commit is contained in:
parent
b0438bb2bc
commit
c2c0e34851
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/perl
|
||||||
# $OpenBSD: libtool,v 1.116 2009/11/15 22:05:36 steven Exp $
|
# $OpenBSD: libtool,v 1.117 2010/04/26 17:49:00 steven Exp $
|
||||||
|
|
||||||
# Copyright (c) 2007-2009 Steven Mestdagh <steven@openbsd.org>
|
# Copyright (c) 2007-2009 Steven Mestdagh <steven@openbsd.org>
|
||||||
#
|
#
|
||||||
@ -88,6 +88,11 @@ sub verbose_run
|
|||||||
$verbose = 1;
|
$verbose = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub silent_run
|
||||||
|
{
|
||||||
|
$verbose = 0;
|
||||||
|
}
|
||||||
|
|
||||||
sub new
|
sub new
|
||||||
{
|
{
|
||||||
my $class = shift;
|
my $class = shift;
|
||||||
@ -1568,6 +1573,7 @@ if ($mode eq 'compile') {
|
|||||||
exit 0;
|
exit 0;
|
||||||
} elsif ($mode eq 'execute') {
|
} elsif ($mode eq 'execute') {
|
||||||
# XXX check whether this is right
|
# XXX check whether this is right
|
||||||
|
Exec->silent_run;
|
||||||
Exec->command(@$ltprog, @ARGV);
|
Exec->command(@$ltprog, @ARGV);
|
||||||
} else {
|
} else {
|
||||||
die "MODE=$mode not implemented yet.\n";
|
die "MODE=$mode not implemented yet.\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user