Use shell for globbing in clean.
This commit is contained in:
parent
d00e774986
commit
eeda704462
2
make.py
2
make.py
|
@ -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"])
|
||||||
|
|
Loading…
Reference in New Issue