From c0baff82e209be1d2befff8f3d3e685a792c2d4d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 15 Jan 2013 17:08:12 +0100 Subject: [PATCH] sudo make me a sandwhich --- debian_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5