diff options
author | Petri Lehtinen <petri@digip.org> | 2011-11-05 19:23:48 (GMT) |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2011-11-05 19:24:45 (GMT) |
commit | 6ab96e41bd917784e6cf60bd0204a84996ddfa0f (patch) | |
tree | 32d4a19469ed50fc25c0ff882dc3f36e2c4f47da /Makefile.pre.in | |
parent | 03b081938954a333fb5473977ee8d22e9699bc5b (diff) | |
parent | bc74ee039c83e00b815b37dca81d115b7291e151 (diff) | |
download | cpython-6ab96e41bd917784e6cf60bd0204a84996ddfa0f.zip cpython-6ab96e41bd917784e6cf60bd0204a84996ddfa0f.tar.gz cpython-6ab96e41bd917784e6cf60bd0204a84996ddfa0f.tar.bz2 |
Remove __pycache__ directories correctly on OpenBSD
Closes #13326.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 5c30eb3..896a08e 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1285,8 +1285,8 @@ TAGS:: # Sanitation targets -- clean leaves libraries, executables and tags # files, which clobber removes as well pycremoval: + -find $(srcdir) -depth -name '__pycache__' -exec rm -rf {} ';' -find $(srcdir) -name '*.py[co]' -exec rm -f {} ';' - -find $(srcdir) -name '__pycache__' -exec rmdir {} '+' rmtestturds: -rm -f *BAD *GOOD *SKIPPED |