diff options
author | Roger Leigh <rleigh@debian.org> | 2010-08-28 12:32:38 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2010-08-28 12:34:25 +0100 |
commit | 145fe1c24bf01a5ebee255280738160f9e300bb9 (patch) | |
tree | 771984563268d719176c1655503bc6106adc0f52 | |
parent | 42132178afe25a3ee7fcbcf05d12a22e98326688 (diff) | |
download | schroot-145fe1c24bf01a5ebee255280738160f9e300bb9.tar.gz |
dchroot: dchroot.conf parser uses directory key
Use "directory" key in place of deprecated key "location"
-rw-r--r-- | bin/dchroot-dsa/dchroot-dsa-chroot-config.cc | 2 | ||||
-rw-r--r-- | bin/dchroot/dchroot-chroot-config.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/dchroot-dsa/dchroot-dsa-chroot-config.cc b/bin/dchroot-dsa/dchroot-dsa-chroot-config.cc index 2b623d3b..e8efeb51 100644 --- a/bin/dchroot-dsa/dchroot-dsa-chroot-config.cc +++ b/bin/dchroot-dsa/dchroot-dsa-chroot-config.cc @@ -118,7 +118,7 @@ chroot_config::parse_data (std::string const& chroot_namespace, kconfig.set_value(chroot_name, "description", fmt, "", linecount); if (lstart != std::string::npos) - kconfig.set_value(chroot_name, "location", location, "", linecount); + kconfig.set_value(chroot_name, "directory", location, "", linecount); kconfig.set_list_value(chroot_name, "users", users.begin(), users.end(), diff --git a/bin/dchroot/dchroot-chroot-config.cc b/bin/dchroot/dchroot-chroot-config.cc index f37d97b0..81dddfae 100644 --- a/bin/dchroot/dchroot-chroot-config.cc +++ b/bin/dchroot/dchroot-chroot-config.cc @@ -127,7 +127,7 @@ chroot_config::parse_data (std::string const& chroot_namespace, kconfig.set_value(chroot_name, "description", fmt, "", linecount); if (lstart != std::string::npos) - kconfig.set_value(chroot_name, "location", location, "", linecount); + kconfig.set_value(chroot_name, "directory", location, "", linecount); if (pstart != std::string::npos) kconfig.set_value(chroot_name, "personality", personality, "", linecount); |