[reprotest] 01/01: main: Fix Script so that build commands starting with ENVVAR=val work after append_command()
Ximin Luo
infinity0 at debian.org
Fri Nov 18 16:05:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository reprotest.
commit 3feddf46d8dbddcfd2b770db46bbe955255d7cee
Author: Ximin Luo <infinity0 at debian.org>
Date: Fri Nov 18 17:04:20 2016 +0100
main: Fix Script so that build commands starting with ENVVAR=val work after append_command()
---
reprotest/__init__.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/reprotest/__init__.py b/reprotest/__init__.py
index 7bbc05f..04a77fa 100644
--- a/reprotest/__init__.py
+++ b/reprotest/__init__.py
@@ -101,6 +101,8 @@ class Script(collections.namedtuple('_Script', 'build_command setup cleanup')):
def __new__(cls, build_command, setup=_shell_ast.AndList(),
cleanup=_shell_ast.List()):
+ build_command = _shell_ast.SimpleCommand(
+ "sh", "-ec", _shell_ast.Quote(build_command))
return super().__new__(cls, build_command, setup, cleanup)
def append_command(self, command):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git
More information about the Reproducible-commits
mailing list