Revert "Make evaluation fail with proper error when a input of type build is not available."

This reverts commit a1b5020562.
This commit is contained in:
Rob Vermaas 2014-11-18 11:13:34 +01:00
parent fd36d79581
commit d5db1d3bc1

View file

@ -95,7 +95,7 @@ sub fetchInputBuild {
, where => \ attrsToSQL($attrs, "me.id") })->single;
}
die "Input $name: No builds available at $value" if !defined $prevBuild || !isValidPath(getMainOutput($prevBuild)->path);
return () if !defined $prevBuild || !isValidPath(getMainOutput($prevBuild)->path);
#print STDERR "input `", $name, "': using build ", $prevBuild->id, "\n";