diff options
Diffstat (limited to 'build2/install/utility')
-rw-r--r-- | build2/install/utility | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/install/utility b/build2/install/utility index 1abed27..a50ab9b 100644 --- a/build2/install/utility +++ b/build2/install/utility @@ -19,7 +19,7 @@ namespace build2 inline void install_path (const target_type& tt, scope& s, dir_path d) { - auto r (s.target_vars[tt]["*"].assign ("install")); + auto r (s.target_vars[tt]["*"].insert ("install")); if (r.second) // Already set by the user? r.first.get () = move (d); } @@ -34,7 +34,7 @@ namespace build2 inline void install_mode (const target_type& tt, scope& s, string m) { - auto r (s.target_vars[tt]["*"].assign ("install.mode")); + auto r (s.target_vars[tt]["*"].insert ("install.mode")); if (r.second) // Already set by the user? r.first.get () = move (m); } |