]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
beautify environment output
authorMathias Klette <mathias.klette@profitbricks.com>
Mon, 4 Jun 2012 13:10:20 +0000 (15:10 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Mon, 4 Jun 2012 13:10:20 +0000 (15:10 +0200)
debian_build.py

index 008ba159ca471f81a2ef346edb87cc5c9215378a..e113a85853407af38da2bed7204b7e2ed331be1d 100755 (executable)
@@ -217,11 +217,11 @@ if __name__ == '__main__':
     logger.debug('Called in: %s' % os.getcwd())
     logger.debug('Called with: %s' % " ".join(sys.argv))
     logger.debug(
-            'Environment: export %s'
+            'Environment: export \\\n%s'
             %(
                 ' '.join(
                     map(
-                        lambda x: '%s="%s"' %(x[0], x[1]),
+                        lambda x: '    %s="%s" \\' %(x[0], x[1]),
                         os.environ.iteritems()
                     )
                 )