]> git.saurik.com Git - bison.git/commitdiff
* config.bat: Inhibit the use of disallowed characters.
authorJuan Manuel Guerrero <juan.guerrero@gmx.de>
Wed, 7 Mar 2007 21:58:17 +0000 (21:58 +0000)
committerJuan Manuel Guerrero <juan.guerrero@gmx.de>
Wed, 7 Mar 2007 21:58:17 +0000 (21:58 +0000)
djgpp/config.bat

index 36ce75c6b88c2c03514d22359b702dc7b47e61c0..98efa8a00377627ca398374618e6612593200c73 100644 (file)
@@ -245,6 +245,12 @@ Rem Fixing ilicit testsuite file name.
 test -f %XSRC%/tests/c++.at\r
 if not errorlevel 1 mv -f %XSRC%/tests/c++.at %XSRC%/tests/cxx.at\r
 \r
+test -f %XSRC%/tests/testsuite.org\r
+if errorlevel 1 update %XSRC%/tests/testsuite %XSRC%/tests/testsuite.org\r
+sed -f %XSRC%/djgpp/testsuite.sed %XSRC%/tests/testsuite.org > testsuite.tmp\r
+if errorlevel 1 goto SedError3\r
+mv -f ./testsuite.tmp %XSRC%/tests/testsuite\r
+\r
 Rem Fixing ilicit calc++ file names in the calc++ directory.\r
 test -d %XSRC%/examples/calc++\r
 if not errorlevel 1 mv -f %XSRC%/examples/calc++ %XSRC%/examples/calcxx\r
@@ -459,7 +465,11 @@ echo ./configure script editing failed!
 goto End\r
 \r
 :SedError2\r
-echo ./config.hin editing failed!\r
+echo ./lib/config.hin editing failed!\r
+goto End\r
+\r
+:SedError3\r
+echo ./tests/testsuite editing failed!\r
 goto End\r
 \r
 :CfgError\r