Mercurial > treepkg
comparison recipes/gnupg/base.py @ 181:81585486281b
Extend the PBuilder.run_script method so that the script can be called
with arguments
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Wed, 25 Jun 2008 13:36:38 +0000 |
parents | 93fcd0b9e82c |
children | bd887d02068a |
comparison
equal
deleted
inserted
replaced
180:12e4efd5cc74 | 181:81585486281b |
---|---|
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 treepkg.util.ensure_directory(self.log_dir) |
157 self.track.builder.run_script(script_name, | 157 self.track.builder.run_script([script_name], |
158 logfile=os.path.join(self.log_dir, | 158 logfile=os.path.join(self.log_dir, |
159 "tarball_log.txt"), | 159 "tarball_log.txt"), |
160 bindmounts=[self.work_dir, self.src_dir]) | 160 bindmounts=[self.work_dir, self.src_dir]) |
161 | 161 |
162 def create_orig_dir(self): | 162 def create_orig_dir(self): |