]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
this does not compute
authorHolger Levsen <holger@layer-acht.org>
Thu, 25 Aug 2011 16:52:26 +0000 (18:52 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 25 Aug 2011 16:52:26 +0000 (18:52 +0200)
build.py

index 4b0bf99e48d0874314f88d74781142aeaa9c2ad3..bad48bf593b33032b349f733efaca3299b9375a5 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -371,7 +371,8 @@ if __name__ == '__main__':
     logger.debug(os.listdir('./'))
     logger.debug(os.listdir('../'))
     create_dput_cfg()
-    dput_package_upload(os.path.join(GIT_TARGET_WORKSPACE, 'build-area/result/', '%s_%s_amd64.changes' % (pkg_name, version)))
+    changes_file =  '%s_%s_amd64.changes' % (pkg_name, version)
+    dput_package_upload(os.path.join(GIT_TARGET_WORKSPACE, 'build-area/result/', changes_file))
 
     exit_ok()