From: Holger Levsen Date: Tue, 15 Jan 2013 16:08:12 +0000 (+0100) Subject: sudo make me a sandwhich X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=c0baff82e209be1d2befff8f3d3e685a792c2d4d;p=profitbricks%2Fjenkins-build-scripts.git sudo make me a sandwhich --- diff --git a/debian_build.py b/debian_build.py index b0e954a..e15fed6 100755 --- a/debian_build.py +++ b/debian_build.py @@ -557,7 +557,7 @@ if __name__ == '__main__': cmd = ['/bin/tar', 'xzvf', os.path.join(CWD, '../build-area/result/reports.tgz'), '-C', CWD] try: subprocess.check_call(cmd) - cmd = ['/bin/rm', os.path.join(CWD, '../build-area/result/reports.tgz')] + cmd = ['/usr/bin/sudo' , '/bin/rm', os.path.join(CWD, '../build-area/result/reports.tgz')] subprocess.check_call(cmd) except: pass