Use shell for globbing in clean.

This commit is contained in:
Tim 'mithro' Ansell 2015-08-12 12:28:49 +01:00 committed by Sebastien Bourdeauducq
parent d00e774986
commit eeda704462
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ CPU type: {}
actions["build-headers"] = True actions["build-headers"] = True
if actions["clean"]: 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", "libcompiler-rt"), "clean"])
subprocess.check_call(["make", "-C", os.path.join("software", "libbase"), "clean"]) subprocess.check_call(["make", "-C", os.path.join("software", "libbase"), "clean"])
subprocess.check_call(["make", "-C", os.path.join("software", "libnet"), "clean"]) subprocess.check_call(["make", "-C", os.path.join("software", "libnet"), "clean"])