diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-27 12:42:31 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-27 12:42:31 +0000 |
commit | c33249de90907d653f127f7970f366c40f3ca3cf (patch) | |
tree | ed9cce68a5b2e359a4a76d3f469950094b8f0ac6 /make/utilities.pm | |
parent | 6c1554c87332e420042243397d1567400ac61b8b (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/utilities.pm')
-rw-r--r-- | make/utilities.pm | 1 |
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/; } |