Remove __pycache__ directories correctly on OpenBSD

Closes #13326.
This commit is contained in:
Petri Lehtinen 2011-11-05 21:23:48 +02:00
commit 6ab96e41bd
2 changed files with 3 additions and 1 deletions

View File

@ -1285,8 +1285,8 @@ TAGS::
# Sanitation targets -- clean leaves libraries, executables and tags # Sanitation targets -- clean leaves libraries, executables and tags
# files, which clobber removes as well # files, which clobber removes as well
pycremoval: pycremoval:
-find $(srcdir) -depth -name '__pycache__' -exec rm -rf {} ';'
-find $(srcdir) -name '*.py[co]' -exec rm -f {} ';' -find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
-find $(srcdir) -name '__pycache__' -exec rmdir {} '+'
rmtestturds: rmtestturds:
-rm -f *BAD *GOOD *SKIPPED -rm -f *BAD *GOOD *SKIPPED

View File

@ -1445,6 +1445,8 @@ Library
Build Build
----- -----
- Issue #13326: Clean __pycache__ directories correctly on OpenBSD.
- PEP 393: the configure option --with-wide-unicode is removed. - PEP 393: the configure option --with-wide-unicode is removed.
- Issue #12852: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008 - Issue #12852: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008