Mercurial > treepkg
comparison recipes/gnupg/base.py @ 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 | 605f6784aae7 |
children | 81585486281b |
comparison
equal
deleted
inserted
replaced
136:5598014b2a1d | 137:93fcd0b9e82c |
---|---|
151 make_dist_command=self.make_dist_command)) | 151 make_dist_command=self.make_dist_command)) |
152 script_name = os.path.join(self.work_dir, "createtarball") | 152 script_name = os.path.join(self.work_dir, "createtarball") |
153 treepkg.util.writefile(script_name, script, 0755) | 153 treepkg.util.writefile(script_name, script, 0755) |
154 | 154 |
155 treepkg.util.ensure_directory(self.src_dir) | 155 treepkg.util.ensure_directory(self.src_dir) |
156 treepkg.util.ensure_directory(self.log_dir) | |
156 self.track.builder.run_script(script_name, | 157 self.track.builder.run_script(script_name, |
157 logfile=os.path.join(self.src_dir, | 158 logfile=os.path.join(self.log_dir, |
158 "tarball.log"), | 159 "tarball_log.txt"), |
159 bindmounts=[self.work_dir, self.src_dir]) | 160 bindmounts=[self.work_dir, self.src_dir]) |
160 | 161 |
161 def create_orig_dir(self): | 162 def create_orig_dir(self): |
162 """Unpacks the tarball created by create_original_tarball into work_dir | 163 """Unpacks the tarball created by create_original_tarball into work_dir |
163 """ | 164 """ |