From: Tim 'mithro' Ansell Date: Wed, 12 Aug 2015 11:28:49 +0000 (+0100) Subject: Use shell for globbing in clean. X-Git-Tag: 24jan2021_ls180~2144 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eeda704462fc7d315014aec6e7274dbadc181df9;p=litex.git Use shell for globbing in clean. --- diff --git a/make.py b/make.py index d3ddc7a3..b0d3967d 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"])