]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
small change
authorHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 17:22:25 +0000 (18:22 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 17:22:25 +0000 (18:22 +0100)
debian_build.py

index f9139ec99bf37ea426e8289a5be1530576ae925b..e84b0a7a861c43b1c9a6c7bb83afc82b20955d12 100755 (executable)
@@ -503,7 +503,7 @@ if __name__ == '__main__':
             for flavour in fh.readlines():
                 LINUX_FLAVOUR_REPO_PATH = '/srv/git/r+i/linux-%s.git' % flavour
                 urlencode_expansion_dict = {
-                   'flavour': 'linux-%s' % flavour
+                   'flavour': os.path.splitext(os.path.basename('linux-%s' % flavour))[0]
                 }
                 url = HudsonUrl()
                 data = urllib.urlencode(