diff --git a/src/builder-module.c b/src/builder-module.c index 747b844a..968a1bf3 100644 --- a/src/builder-module.c +++ b/src/builder-module.c @@ -1648,6 +1648,13 @@ builder_module_build_helper (BuilderModule *self, } } + if (run_shell) + { + if (!shell (app_dir, self->name, context, source_dir, build_dir_relative, build_args, env, error)) + return FALSE; + return TRUE; + } + if (configure_file) has_configure = g_file_query_exists (configure_file, NULL); @@ -1848,13 +1855,6 @@ builder_module_build_helper (BuilderModule *self, make_j = g_strdup ("-j1"); } - if (run_shell) - { - if (!shell (app_dir, self->name, context, source_dir, build_dir_relative, build_args, env, error)) - return FALSE; - return TRUE; - } - /* Build and install */ builder_set_term_title (_("Installing %s"), self->name);