From 51ccba7088f665e0e463778c09230fc44a38106a Mon Sep 17 00:00:00 2001 From: Roger Leigh Date: Wed, 30 May 2012 21:50:05 +0100 Subject: sbuild::chroot: set_script_config calls set_profile --- sbuild/sbuild-chroot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbuild/sbuild-chroot.cc b/sbuild/sbuild-chroot.cc index 8a9b5df9..ce1433b0 100644 --- a/sbuild/sbuild-chroot.cc +++ b/sbuild/sbuild-chroot.cc @@ -419,8 +419,8 @@ sbuild::chroot::set_script_config (std::string const& script_config) if (this->script_config.length() >= end.length() && this->script_config.compare (this->script_config.length() - end.length(), end.length(), end) == 0) - this->profile = this->script_config.substr - (0,this->script_config.length() - end.length()); + set_profile(this->script_config.substr + (0,this->script_config.length() - end.length())); else { error e(this->script_config, SCRIPT_CONFIG_CV); -- cgit v1.2.3