]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debian_build: fix - remove last occurences of obsolete var DISTRIBUTION
authorMathias Klette <mathias.klette@profitbricks.com>
Tue, 28 May 2013 11:51:44 +0000 (13:51 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Tue, 28 May 2013 11:51:44 +0000 (13:51 +0200)
debian_build.py

index aee42e0006dad40542dafc49880af13f2904397c..395696677fedc0d4febf998b62eb89afaf03c8d2 100755 (executable)
@@ -195,7 +195,7 @@ if __name__ == '__main__':
             commit = curr_commit_id[0:7],
             )
         pb_suite = 'develop-{dist}'.format(dist=curr_dist)
-        reprepro_base = '/srv/pb-' + ENV['DISTRIBUTION']
+        reprepro_base = '/srv/pb-{dist}'.format(dist=curr_dist)
         # reset actions
         # .. always include successful build packages into CIDB
         if curr_dist == 'squeeze':
@@ -216,7 +216,7 @@ if __name__ == '__main__':
             commit = curr_commit_id[0:7],
             )
         pb_suite = 'experimental-{dist}'.format(dist=curr_dist)
-        reprepro_base = '/srv/dev-' + ENV['DISTRIBUTION']
+        reprepro_base = '/srv/dev-{dist}'.format(dist=curr_dist)
 
     else:
         logger.error('Don\'t know how to handle branch "{branch}".'.format(