]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
DEVINF-100: git clean -fdx needs sudo for kernels
authorMathias Klette <mathias.klette@profitbricks.com>
Fri, 1 Jun 2012 16:29:33 +0000 (18:29 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Fri, 1 Jun 2012 16:29:33 +0000 (18:29 +0200)
debian_build.py

index 26679451af33893b45c59a61424f312eb6e3730e..acb642247a1952e377210f9c9c06893cf7583beb 100755 (executable)
@@ -264,7 +264,7 @@ if __name__ == '__main__':
     )
     logger.debug(
         'git clean -fdx:\n%s'
-        %(gitcmd.clean('-fdx'))
+        %(gitcmd.execute(['sudo','git','clean','-fdx']))
     )
     logger.debug(
         'git branch -D %s\n%s'