maint.mk: fix syntax checks without exclusions
authorEric Blake <eblake@redhat.com>
Fri, 30 Mar 2012 02:47:55 +0000 (20:47 -0600)
committerIan Beckwith <ianb@erislabs.net>
Sun, 1 Apr 2012 21:14:00 +0000 (22:14 +0100)
commit7f8314c8a7e564f3f0d62bef3cfa68a6bcb9c3d9
tree349db97e4b1414d56fb5516af53db3e5d7b64803
parentab5c7e21fd9640d4081b1b311b80c25e5725c1ae
maint.mk: fix syntax checks without exclusions

Commit 727075d0 skipped per-line exclusions if ${exclude} is left
undefined, but was immediately broken by commit 44de969c which
always initialized the variable to the empty string.

* top/maint.mk (_sc_search_regexp): Allow for empty variable.
Reported by Daniel P. Berrange.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 3d0ba3fe7865e7030b4d2097f122e64b16f0a5c9)
ChangeLog
NEWS.stable
top/maint.mk