aboutsummaryrefslogtreecommitdiff
path: root/paludis/ndbam_merger.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/ndbam_merger.cc')
-rw-r--r--paludis/ndbam_merger.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/ndbam_merger.cc b/paludis/ndbam_merger.cc
index 282b4c86c..85acc056a 100644
--- a/paludis/ndbam_merger.cc
+++ b/paludis/ndbam_merger.cc
@@ -225,7 +225,10 @@ NDBAMMerger::record_install_sym(const FSPath & src, const FSPath & dst_dir, cons
*_imp->contents_file << "type=sym path=" << escape(tidy);
*_imp->contents_file << " target=" << escape(target);
- *_imp->contents_file << " mtime=" << timestamp.seconds() << std::endl;
+ *_imp->contents_file << " mtime=" << timestamp.seconds();
+ if (_imp->params.is_volatile()(FSPath(tidy)))
+ *_imp->contents_file << " volatile=true";
+ *_imp->contents_file << std::endl;
}
void