X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcepackage.cpp;h=2cefeb871065e76434d10642fa57dd7928f61b9f;hb=65ba6a595dd4a1d74675abcfdf96307062dc43eb;hp=b84b22a58f0a33ea326cfc99845e9363ade5081c;hpb=50baabc242633d531d3f9542e9a64491b6e12c6c;p=builder.git diff --git a/source/sourcepackage.cpp b/source/sourcepackage.cpp index b84b22a..2cefeb8 100644 --- a/source/sourcepackage.cpp +++ b/source/sourcepackage.cpp @@ -37,11 +37,6 @@ SourcePackage::SourcePackage(Builder &b, const string &n, const FS::Path &f): source_tarball = &components.back(); } -void SourcePackage::set_build_type(const BuildType &t) -{ - build_type = &t; -} - FS::Path SourcePackage::get_temp_directory() const { string subdir = builder.get_current_arch().get_name(); @@ -88,6 +83,11 @@ bool SourcePackage::match_feature(const string &cond) const } } +void SourcePackage::set_build_type(const BuildType &t) +{ + build_type = &t; +} + void SourcePackage::do_prepare() { BuildInfo final_build_info;