diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-04-11 20:49:38 +0200 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-04-11 20:49:38 +0200 |
commit | 483b962ed7e87600ee0f1581a15f747ea8195452 (patch) | |
tree | 41a35ecaa130d821eadc16c5b7b093d5ff6afd3b /lib/Automake/Variable.pm | |
parent | da765822f02f0e66b6e3b4a01e2ac08f5c837164 (diff) | |
download | automake-483b962ed7e87600ee0f1581a15f747ea8195452.tar.gz |
Fix capitalization of error messages, reword one message.
* lib/Automake/Variable.pm (define): Do not capitalize the first
word in the error message.
* automake.in (require_file_internal): Likewise. Also, reword
and line-wrap for better readability.
* tests/distcom7.test, tests/pluseq5.test, tests/pluseq9.test:
Adjust tests.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'lib/Automake/Variable.pm')
-rw-r--r-- | lib/Automake/Variable.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Automake/Variable.pm b/lib/Automake/Variable.pm index c340dc70d..bf44c3852 100644 --- a/lib/Automake/Variable.pm +++ b/lib/Automake/Variable.pm @@ -996,10 +996,10 @@ sub define ($$$$$$$$) if (! $undef_cond->false) { error ($where, - "Cannot apply `+=' because `$var' is not defined " + "cannot apply `+=' because `$var' is not defined " . "in\nthe following conditions:\n " . join ("\n ", map { $_->human } $undef_cond->conds) - . "\nEither define `$var' in these conditions," + . "\neither define `$var' in these conditions," . " or use\n`+=' in the same conditions as" . " the definitions."); } |