From c33249de90907d653f127f7970f366c40f3ca3cf Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 27 Jan 2008 12:42:31 +0000 Subject: Make sure that if an exec() macro fails its picked up before build time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8757 e03df62e-2008-0410-955e-edbf42e46eb7 --- make/utilities.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'make') diff --git a/make/utilities.pm b/make/utilities.pm index 59c2905cb..06105e215 100644 --- a/make/utilities.pm +++ b/make/utilities.pm @@ -324,6 +324,7 @@ sub translate_functions($$) { print "Executing program for module \033[1;32m$module\033[0m ... \033[1;32m$1\033[0m\n"; my $replace = `$1`; + die $replace if ($replace =~ /Configuration failed/); chomp($replace); $line =~ s/exec\("(.+?)"\)/$replace/; } -- cgit v1.2.3