A mistake here leads to a confusing error message that is by itself
correct, but hard to understand for the user.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
return false, e:cat(re)
end
+ local expected_location = e2lib.join(buildpath, file.unpack)
+ if not e2lib.stat(expected_location, true) then
+ return false, err.new("expected unpack location '%s' does not exist",
+ expected_location)
+ end
+
if not symlink then
symlink = buildpath .. "/" .. sourcename
if file.unpack ~= sourcename then
if not rc then
return false, e:cat(re)
end
+
+
end
end
else