summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-27 12:42:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-27 12:42:31 +0000
commitc33249de90907d653f127f7970f366c40f3ca3cf (patch)
treeed9cce68a5b2e359a4a76d3f469950094b8f0ac6 /make
parent6c1554c87332e420042243397d1567400ac61b8b (diff)
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
Diffstat (limited to 'make')
-rw-r--r--make/utilities.pm1
1 files changed, 1 insertions, 0 deletions
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/;
}