]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
upload to the distribution specific subdir
authorHolger Levsen <holger@layer-acht.org>
Fri, 26 Aug 2011 07:37:26 +0000 (09:37 +0200)
committerHolger Levsen <holger@layer-acht.org>
Fri, 26 Aug 2011 07:37:26 +0000 (09:37 +0200)
build.py

index 97f5c7768201e7ee4e17c2d8c01bcf51334bfcd3..c74a930eed4e2d3cf9f68cc0131882a5499d9775 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -87,7 +87,7 @@ DPUT_OPTIONS = {
         'fqdn': DPUT_URI.groupdict().get('url'),
         'method': 'scp',
         'login': 'reprepro',
-        'incoming': '/srv/debian-repository/incoming/',
+        'incoming': '/srv/debian-repository/incoming/%s' % (os.environ.get('DISTRIBUTION'),
         'allow_unsigned_uploads': 1,
         }
 DPUT_CF = os.path.join(GIT_TARGET_WORKSPACE, 'dput.cf')