From: "Juan Manuel Guerrero" Organization: Darmstadt University of Technology To: eliz AT is DOT elta DOT co DOT il Date: Wed, 26 Apr 2000 13:13:29 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: suggestion for config.bat (texinfo-4.0) CC: djgpp-workers AT delorie DOT com X-mailer: Pegasus Mail for Windows (v2.54DE) Message-ID: <20AFCCE2D5E@HRZ1.hrz.tu-darmstadt.de> Reply-To: djgpp-workers AT delorie DOT com On Tue, 11 Apr 2000, Eli Zaretskii wrote: > > This concern only people using 4DOS v6.X with MSDOS v 6.X and probably > > other SFN environments. 4DOS does NOT truncute long file names to short > > file names when it runs its internal commands like ren, copy, del, etc. > [snip] > > ! if not exist install-?? if exist install-??.sh ren install-??.sh install-sh > > Does this work on Windows 9X? > > In general, this is too dangerous: what if some day there will be another > install-?? file? It is too dangerous. A new attempt. The patch is base on config.bat from texinfo. For this to work, I assume that fileutils are installed. *** config.bat.orig Wed Sep 29 18:26:10 1999 --- config.bat Wed Apr 26 11:23:00 2000 *************** *** 63,77 **** Rem install-sh is required by the configure script but clashes with the Rem various Makefile install-foo targets, so we MUST have it before the Rem script runs and rename it afterwards ! if not exist install-sh if exist install-sh.sh ren install-sh.sh install-sh echo Running the ./configure script... sh ./configure --src=%XSRC% --infodir=/dev/env/DJDIR/info --disable-nls if errorlevel 1 goto CfgError ! if not exist install-sh.sh if exist install-sh ren install-sh install-sh.sh echo Done. goto End :SedError echo ./configure script editing failed! --- 63,85 ---- Rem install-sh is required by the configure script but clashes with the Rem various Makefile install-foo targets, so we MUST have it before the Rem script runs and rename it afterwards ! test -f install-sh ! if not errorlevel 1 goto 0continue ! test -f install-sh.sh ! if not errorlevel 1 mv -f install-sh.sh install-sh ! :0continue echo Running the ./configure script... sh ./configure --src=%XSRC% --infodir=/dev/env/DJDIR/info --disable-nls if errorlevel 1 goto CfgError ! test -f install-sh.sh ! if not errorlevel 1 goto 1continue ! test -f install-sh ! if not errorlevel 1 mv -f install-sh install-sh.sh ! :1continue echo Done. goto End :SedError echo ./configure script editing failed!