diff --git a/src/tools/EPICS/Release.pm b/src/tools/EPICS/Release.pm index 22e247847..ccf8246f2 100644 --- a/src/tools/EPICS/Release.pm +++ b/src/tools/EPICS/Release.pm @@ -84,6 +84,8 @@ sub expandRelease { while (my ($macro, $path) = each %$Rmacros) { while (my ($pre,$var,$post) = $path =~ m/(.*)\$\((\w+?)\)(.*)/) { + warn "Undefined macro \$($var) used in RELEASE file\n" + unless exists $Rmacros->{$var}; $path = $pre . $Rmacros->{$var} . $post; $Rmacros->{$macro} = $path; }