summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2012-05-30 21:50:05 +0100
committerRoger Leigh <rleigh@debian.org>2012-05-30 21:50:05 +0100
commit51ccba7088f665e0e463778c09230fc44a38106a (patch)
treedc1ef56041bf871654cbc9082b93dd8a9ca2d821
parent0b7121f135ae11b3dd474f1cae8ae7d2d980e1b0 (diff)
downloadschroot-51ccba7088f665e0e463778c09230fc44a38106a.tar.gz
sbuild::chroot: set_script_config calls set_profilerelease/schroot-1.5.4debian/schroot-1.5.4-1
-rw-r--r--sbuild/sbuild-chroot.cc4
1 files 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);