changeset 137:93fcd0b9e82c

In the gnupg SmartSourcePackager, put the tarball creation log into the log_dir.
author Bernhard Herzog <bh@intevation.de>
date Tue, 27 May 2008 18:07:37 +0000
parents 5598014b2a1d
children 1bcdc8934b27
files recipes/gnupg/base.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/recipes/gnupg/base.py	Tue May 27 17:55:08 2008 +0000
+++ b/recipes/gnupg/base.py	Tue May 27 18:07:37 2008 +0000
@@ -153,9 +153,10 @@
         treepkg.util.writefile(script_name, script, 0755)
 
         treepkg.util.ensure_directory(self.src_dir)
+        treepkg.util.ensure_directory(self.log_dir)
         self.track.builder.run_script(script_name,
-                                      logfile=os.path.join(self.src_dir,
-                                                           "tarball.log"),
+                                      logfile=os.path.join(self.log_dir,
+                                                           "tarball_log.txt"),
                                       bindmounts=[self.work_dir, self.src_dir])
 
     def create_orig_dir(self):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)