diff options
author | Eli Zaretskii <eliz@gnu.org> | 2000-05-08 19:26:59 +0400 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2000-05-08 19:26:59 +0400 |
commit | b3961730bd71af93c93a19c30def1ccdca5a397e (patch) | |
tree | 83c3439646642a278db79974792096176cdab6ec | |
parent | 953e80cdfb969ab4cc4cb8547a6d630980d24e38 (diff) |
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
with the version name.
* config/djgpp/djconfig.sh: Use more warning switches.
* config/djgpp/fnchange.lst: Replace the leading gdb-0222 with the
@V@ placebo. djunpack.bat changed accordingly.
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | djunpack.bat | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2000-05-08 Eli Zaretskii <eliz@is.elta.co.il> + + * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst + with the version name. + Thu Apr 27 11:01:48 2000 Andrew Cagney <cagney@b1.cygnus.com> * Makefile.in (do-tar-bz2, do-md5sum): Skip CVS directories when diff --git a/djunpack.bat b/djunpack.bat index e863efc10..bf5710fa9 100755 --- a/djunpack.bat +++ b/djunpack.bat @@ -17,8 +17,8 @@ Rem Rem The following 2 lines need to be changed with each new GDB release, to
Rem be identical to the name of the top-level directory where the GDB
Rem distribution unpacks itself.
-set GDBVER=gdb-gdb-4.95.0
-if "%GDBVER%"=="gdb-gdb-4.95.0" GoTo EnvOk
+set GDBVER=gdb-4.95.0
+if "%GDBVER%"=="gdb-4.95.0" GoTo EnvOk
Rem If their environment space is too small, re-exec with a larger one
command.com /e:4096 /c %0 %1
GoTo End
@@ -31,7 +31,7 @@ Rem an empty fnchange.tmp even if the command failed for some reason. copy fnchange.tmp junk.tmp > nul
if not exist junk.tmp GoTo NoDjTar
del junk.tmp
-sed -e 's,^,%GDBVER%,' -e 's, *, %GDBVER%,' < fnchange.tmp > fnchange.lst
+sed -e 's,@V@,%GDBVER%,g' < fnchange.tmp > fnchange.lst
Rem See the comment above about the reason for using COPY.
copy fnchange.lst junk.tmp > nul
if not exist junk.tmp GoTo NoSed
|