2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00

Emit clear error when more than one possible Jamfile is found in a directory

[SVN r49851]
This commit is contained in:
Vladimir Prus
2008-11-20 17:58:59 +00:00
parent c3c636e483
commit 77019eb3a8

View File

@@ -286,7 +286,13 @@ local rule load-jamfile (
{
jamfile-to-load = [ find-jamfile $(dir) ] ;
}
if $(jamfile-to-load[2])
{
errors.error "Multiple Jamfiles found at '$(dir)'"
: "Filenames are: " $(jamfile-to-load:D=) ;
}
# The module of the Jamfile.
#
local jamfile-module = [ module-name [ path.parent $(jamfile-to-load) ] ] ;