Commit 51e83551 authored by Jon Griffiths's avatar Jon Griffiths

manifest: Print the directory name if no files are found

Signed-off-by: default avatarJon Griffiths <jon_p_griffiths@yahoo.com>
parent c5ebb47c
...@@ -167,7 +167,7 @@ static void add_files(struct manifest *m, const char *base, const char *subdir) ...@@ -167,7 +167,7 @@ static void add_files(struct manifest *m, const char *base, const char *subdir)
if (!m->info_file if (!m->info_file
&& list_empty(&m->c_files) && list_empty(&m->c_files)
&& list_empty(&m->h_files)) && list_empty(&m->h_files))
errx(1, "No _info, C or H files found here!"); errx(1, "No _info, C or H files found in %s", thisdir);
/* Don't enter subdirs with _info: they're separate modules. */ /* Don't enter subdirs with _info: they're separate modules. */
for (i = 0; i < tal_count(subs); i++) { for (i = 0; i < tal_count(subs); i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment