Don't try to build LINT if there is no NOTES file.

This commit is contained in:
Dag-Erling Smørgrav 2003-02-23 12:39:25 +00:00
parent aefdeea603
commit 7941c77b0a

View File

@ -419,6 +419,10 @@ MAIN:{
}
# Build LINT if requested
if ($cmds{'lint'} && ! -f "$sandbox/src/sys/$machine/conf/NOTES") {
logstage("no NOTES, skipping lint kernel");
$cmds{'lint'} = 0;
}
if ($cmds{'lint'}) {
logstage("building lint kernel");
cd("$sandbox/src/sys/$machine/conf");