From: Mikko Rasa Date: Mon, 16 Jul 2012 20:56:40 +0000 (+0300) Subject: Call prepare_build before returning to save package configuration X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=b0b8e35336104f6e17fb128d794ab1655eb6fee0;p=builder.git Call prepare_build before returning to save package configuration --- diff --git a/source/builder.cpp b/source/builder.cpp index 5909834..2093212 100644 --- a/source/builder.cpp +++ b/source/builder.cpp @@ -251,12 +251,12 @@ int Builder::main() return 0; } - if(conf_only) - return 0; - if(!prepare_build()) return 1; + if(conf_only) + return 0; + logger.log("environment", format("Building on %s, for %s%s", native_arch.get_name(), current_arch->get_name(), (current_arch->is_native() ? " (native)" : ""))); logger.log("environment", format("Prefix is %s", prefix));