mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
contrib/pre-commit: STDERR is the right output channel
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6869 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
aa0c6d2f99
commit
dc1fc47ffb
@ -17,7 +17,7 @@ use constant TAGS => qw{ul li code b};
|
|||||||
|
|
||||||
my $log = `$svnlook log $arg $repos`;
|
my $log = `$svnlook log $arg $repos`;
|
||||||
if($log !~ m/^.*:.*$/s) {
|
if($log !~ m/^.*:.*$/s) {
|
||||||
print << 'EOF';
|
print STDERR << 'EOF';
|
||||||
A FHEM SVN comment must have the following format
|
A FHEM SVN comment must have the following format
|
||||||
module: text-describing-the-change
|
module: text-describing-the-change
|
||||||
or
|
or
|
||||||
@ -89,6 +89,6 @@ sub
|
|||||||
err($$)
|
err($$)
|
||||||
{
|
{
|
||||||
my ($fName, $txt) = @_;
|
my ($fName, $txt) = @_;
|
||||||
print "*** $fName: $txt\n";
|
print STDERR "*** $fName: $txt\n";
|
||||||
$exitCode = 1;
|
$exitCode = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user