gnulib-tool: correctly detect absence of m4 directories
authorRobert Millan <rmh.grub@aybabtu.com>
Sat, 14 Nov 2009 13:45:02 +0000 (06:45 -0700)
committerIan Beckwith <ianb@erislabs.net>
Sun, 15 Nov 2009 03:27:46 +0000 (03:27 +0000)
commitd837f6725cd0362a5a0ee1feee103e3f407e07a7
tree49ea8e0b3186e8e22aa7dcf7652d52aa69784582
parent28fc486ccb05149d513c16e96ddb3c98b01c2517
gnulib-tool: correctly detect absence of m4 directories

$m4dirs is incorrectly counting.  In my particular case
(correct value: 0, detected value: 1), this resulted in gnulib-tool
silently exitting with no visible error (and no job done).

* gnulib-tool: Avoid extra newline on data passed to wc -l.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
gnulib-tool