From: Jon Griffiths Date: Wed, 24 Aug 2016 07:55:03 +0000 (+1200) Subject: manifest: Print the directory name if no files are found X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=51e83551d470ebd3d377ebd84acb15c71bf6faed;ds=sidebyside manifest: Print the directory name if no files are found Signed-off-by: Jon Griffiths --- 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++) {