From 163cf7971df18d21c54c5852d8771486a7e5aa33 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 28 Jul 2014 00:16:16 -0500 Subject: [PATCH] Errors from the DBD Parser should stop dbdExpand Such errors used to be just warnings, now they stop the output file being generated unless the -D flag was given. --- src/tools/dbdExpand.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/dbdExpand.pl b/src/tools/dbdExpand.pl index c9e10aa51..0157c6b84 100755 --- a/src/tools/dbdExpand.pl +++ b/src/tools/dbdExpand.pl @@ -44,6 +44,7 @@ while (@ARGV) { warn " Your Makefile may need this dependency rule:\n" . " $dep: \$(COMMON_DIR)/$file\n" if $@ =~ m/Can't find file/; + exit 1 unless $opt_D; } }