From: Mathias Klette Date: Fri, 1 Jun 2012 16:29:33 +0000 (+0200) Subject: DEVINF-100: git clean -fdx needs sudo for kernels X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=d4d91219ea3af5eb4f609bf1ee6c51c2ed5f3190;p=profitbricks%2Fjenkins-build-scripts.git DEVINF-100: git clean -fdx needs sudo for kernels --- diff --git a/debian_build.py b/debian_build.py index 2667945..acb6422 100755 --- a/debian_build.py +++ b/debian_build.py @@ -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'