]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
nicer changelog for daily builds
authorHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 16:18:55 +0000 (18:18 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 1 Sep 2011 16:18:55 +0000 (18:18 +0200)
build.py

index 464eef2c14eccc19c740112a8518c8f3b79a7338..b0dd798d24c4c5611bfdc66388f3b0787511b07c 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -324,7 +324,7 @@ if __name__ == '__main__':
 
         dch = subprocess.Popen(
                 ' '.join(cmd),
-                shell=True,
+                shell=False,
                 close_fds=True,
                 stdin=git_log.stdout,
                 stdout=subprocess.PIPE,
@@ -340,6 +340,7 @@ if __name__ == '__main__':
             )
         logger.info('debian/changelog written')
 
+       # FIXME: are those 4 lines meaningful at all? i dont think so...
         cmd = ['/usr/bin/git', 'add', '-A']
         subprocess.check_call(cmd)
         cmd = ['/usr/bin/git', 'commit', '-a', '-m', 'add changelog']