]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
correct path
authorHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 15:46:19 +0000 (17:46 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 15:46:19 +0000 (17:46 +0200)
build.py

index 9559146e3533cf72018fcba7114c0c9510a3f1a2..8888db5593273fe82e45a8c4d08e1212fe3d74a6 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -409,8 +409,8 @@ if __name__ == '__main__':
         exit_error()
     else:
         create_dput_cfg()
-        changes_file =  '%s_%s_amd64.changes' % (pkg_name, version)
-        dput_package_upload(os.path.join(GIT_TARGET_WORKSPACE, 'build-area/result/', changes_file))
+        changes_file =  os.path.join(GIT_TARGET_WORKSPACE, 'build-area/result/', '%s_%s_amd64.changes' % (pkg_name, version))
+        dput_package_upload(changes_file))
 
         fh = open(changes_file, 'r')
         logger.info('%s' % (fh.read()))