]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
make environment copy&pastable
authorMathias Klette <mathias.klette@profitbricks.com>
Thu, 15 Sep 2011 19:06:24 +0000 (21:06 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Thu, 15 Sep 2011 19:06:24 +0000 (21:06 +0200)
debian_build.py

index 502ca54e7df0e14e49eba224d98b11c87b78d389..625d47e2ba7e54339d3c27a67e1c9a2065d18dd0 100755 (executable)
@@ -232,11 +232,11 @@ def getopts():
 
 if __name__ == '__main__':
     logger.debug(
-            'Initialised with Enviroment: %s'
+            'Initialised with Environment: export %s'
             %(
-                ', '.join(
+                ' '.join(
                     map(
-                        lambda x: '%s => %s' %(x[0], x[1]),
+                        lambda x: '%s="%s"' %(x[0], x[1]),
                         os.environ.iteritems()
                     )
                 )