[reprotest] 02/02: - suppress more spurious sudo host warnings
Ximin Luo
infinity0 at debian.org
Mon Nov 27 12:58:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository reprotest.
commit 56e1b44d6b82482b317a1dd7ac51dd6970ef11d0
Author: Ximin Luo <infinity0 at debian.org>
Date: Mon Nov 27 13:55:51 2017 +0100
- suppress more spurious sudo host warnings
---
reprotest/build.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/reprotest/build.py b/reprotest/build.py
index 30af6d9..62d6966 100644
--- a/reprotest/build.py
+++ b/reprotest/build.py
@@ -450,9 +450,9 @@ def user_group(ctx, build, vary):
'cd "{0}" && rm -f disorderfs mkdir fusermount'.format(binpath))
_ = _.append_setup_exec_raw('export', 'PATH="%s:$PATH"' % binpath)
if user != olduser:
- _ = _.append_setup_exec('sudo', 'chown', '-h', '-R', '--from=%s' % olduser, user, build.tree)
+ _ = _.append_setup_exec(*SUDO, 'chown', '-h', '-R', '--from=%s' % olduser, user, build.tree)
# TODO: artifacts probably shouldn't be chown'd back
- _ = _.prepend_cleanup_exec('sudo', 'chown', '-h', '-R', '--from=%s' % user, olduser, build.tree)
+ _ = _.prepend_cleanup_exec(*SUDO, 'chown', '-h', '-R', '--from=%s' % user, olduser, build.tree)
return _
--
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