From 87b9f636f602e6067314ac994777e54307a72a65 Mon Sep 17 00:00:00 2001 From: letouzey Date: Fri, 5 Oct 2012 13:35:43 +0000 Subject: Repair the configure after Hugo's last "repair" ;-) Ok, I wasn't aware of the funny behavior of cd in presence of $CDPATH. But the last "repair" was worse, trying to write into non-existing file theories/config/coq_config.ml Things should be better now: * no more Coq_config.theories_dirs at all, since it was completely unused :-) * concerning Coq_config.plugins_dirs, we list them without any "cd" into plugins, hence keeping the "plugins/" part in their paths, and adapt accordingly the only use (!) of plugins_dirs, in coq_makefile Please run ./configure again after upgrading to this commit git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15860 85f007b7-540e-0410-9357-904b9bb8a0f7 --- configure | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 25acccb8a..9a002198d 100755 --- a/configure +++ b/configure @@ -1030,18 +1030,8 @@ let localwwwrefman = "file:/" ^ docdir ^ "html/refman" END_OF_COQ_CONFIG -# Subdirectories of theories/ added in coq_config.ml -# Note: don't propagate output of cd if any: it's verbose when CDPATH is defined -subdirs () { - (cd $1; find * \( -name .svn -prune \) -o \( -type d -exec printf "\"%s\";\n" {} \; \) >> "$mlconfig_file") -} - -echo "let theories_dirs = [" >> "$mlconfig_file" -subdirs theories -echo "]" >> "$mlconfig_file" - echo "let plugins_dirs = [" >> "$mlconfig_file" -subdirs plugins +find plugins/* \( -name .svn -prune \) -o \( -type d -exec printf "\"%s\";\n" {} \; \) >> "$mlconfig_file" echo "]" >> "$mlconfig_file" chmod a-w "$mlconfig_file" -- cgit v1.2.3