From 51e83551d470ebd3d377ebd84acb15c71bf6faed Mon Sep 17 00:00:00 2001 From: Jon Griffiths Date: Wed, 24 Aug 2016 19:55:03 +1200 Subject: [PATCH] manifest: Print the directory name if no files are found Signed-off-by: Jon Griffiths --- tools/manifest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/manifest.c b/tools/manifest.c index d3245ca5..3494937a 100644 --- a/tools/manifest.c +++ b/tools/manifest.c @@ -167,7 +167,7 @@ static void add_files(struct manifest *m, const char *base, const char *subdir) if (!m->info_file && list_empty(&m->c_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. */ for (i = 0; i < tal_count(subs); i++) { -- 2.39.2