From eeda704462fc7d315014aec6e7274dbadc181df9 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Wed, 12 Aug 2015 12:28:49 +0100 Subject: [PATCH] Use shell for globbing in clean. --- make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.py b/make.py index d3ddc7a35..b0d3967d7 100755 --- a/make.py +++ b/make.py @@ -136,7 +136,7 @@ CPU type: {} actions["build-headers"] = True if actions["clean"]: - subprocess.check_call(["rm", "-rvf", "build/*"]) + subprocess.check_call("rm -rvf build/*", shell=True) # Need shell for the build/* globbing subprocess.check_call(["make", "-C", os.path.join("software", "libcompiler-rt"), "clean"]) subprocess.check_call(["make", "-C", os.path.join("software", "libbase"), "clean"]) subprocess.check_call(["make", "-C", os.path.join("software", "libnet"), "clean"])