Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: restrict mdd search to Src/ since that's where they are



This lets me have another zsh checkout in the repo root which is sometimes handy.

The zsh-development-guide explicitly says:
  Each module is described by a file with a name ending in `.mdd' somewhere
  under the Src directory.

---

As a sidenote for anyone else wanting to do this, the Util/preconfig
script will also recurse into child directories but
1) it will exclude directories with a . anywhere in the name so it's
   easy enough to avoid if you really want to run that script and
2) it is easy enough to just run ./.preconfig instead

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 5002cca8b5..e152588eb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2903,7 +2903,7 @@ dnl config.status, and only change when configure is rerun.
 dnl So we need to run the autoconf tests here and store the results.
 dnl We then generate config.modules, preserving any user-generated
 dnl information, from config.status.
-for modfile in `cd ${srcdir}; echo */*.mdd */*/*.mdd`; do
+for modfile in `cd ${srcdir}; echo Src/*.mdd Src/*/*.mdd`; do
   name=
   link=
   load=
-- 
2.38.1





Messages sorted by: Reverse Date, Date, Thread, Author