From 8aeaf82a67e048ef64c261dea3553478fab0af2e Mon Sep 17 00:00:00 2001 From: Stephen Swaney Date: Tue, 23 May 2006 02:27:22 +0000 Subject: [PATCH] set locale to POSIX so regex works on platforms that set funny locales. needed to make "ls [A-Z]*.py" work properly. Setting LC_ALL=C may be a better choice than LC_ALL=POSIX. We shall see. --- source/blender/python/api2_2x/doc/epy_docgen.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/python/api2_2x/doc/epy_docgen.sh b/source/blender/python/api2_2x/doc/epy_docgen.sh index 1e12df63fd3..d709ee73190 100644 --- a/source/blender/python/api2_2x/doc/epy_docgen.sh +++ b/source/blender/python/api2_2x/doc/epy_docgen.sh @@ -4,6 +4,9 @@ # run from the doc directory containing the .py files # usage: sh epy_docgen.sh +# set posix locale so regex works properly for [A-Z]*.py +LC_ALL=POSIX + epydoc -o BPY_API --url "http://www.blender.org" -t API_intro.py \ -n "Blender" --no-private --no-frames \ $( ls [A-Z]*.py )