From 48cb5c57f05ef46344a33f5733931fdd1abdc1cb Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 25 Aug 2011 17:33:21 +0200 Subject: [PATCH] scp as reprepro user and to the right directory --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index b2c1834..a93fc98 100755 --- a/build.py +++ b/build.py @@ -86,8 +86,8 @@ if not DPUT_URI: DPUT_OPTIONS = { 'fqdn': DPUT_URI.groupdict().get('url'), 'method': 'scp', - 'login': 'jenkins', - 'incoming': '/srv/debian-repository/incoming', + 'login': 'reprepro', + 'incoming': '/srv/debian-repository/incoming/%s' %(os.environ.get('DISTRIBUTION')), 'allow_unsigned_uploads': 0 } DPUT_CF = os.path.join(GIT_TARGET_WORKSPACE, 'dput.cf') -- 2.39.5