Handle missing "build" inputs

This commit is contained in:
Eelco Dolstra 2011-12-04 22:36:55 +01:00
parent 65ea71578f
commit 52406e108b

View file

@ -595,7 +595,7 @@ sub fetchInput {
die "Input `" . $name . "' has unknown type `$type'."; die "Input `" . $name . "' has unknown type `$type'.";
} }
$input->{type} = $type; $input->{type} = $type if defined $input;
return $input; return $input;
} }