Merge pull request #47 from matthiasclasen/build-error

builder: Avoid a confusing error
tingping/wmclass
Alexander Larsson 2016-05-27 08:45:21 +02:00
commit 6b65972434
1 changed files with 7 additions and 0 deletions

View File

@ -844,6 +844,13 @@ builder_manifest_start (BuilderManifest *self,
{
g_autofree char *arch_option;
if (self->sdk == NULL)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
"sdk not specified");
return FALSE;
}
arch_option = g_strdup_printf ("--arch=%s", builder_context_get_arch (context));
self->sdk_commit = flatpak (NULL, "info", arch_option, "--show-commit", self->sdk,