projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
graph: minor simplification
[bison.git]
/
djgpp
/
djunpack.bat
diff --git
a/djgpp/djunpack.bat
b/djgpp/djunpack.bat
index bc02fc9e49e5efe3fde316de556ca0d4c215a58e..b4de3accd6c99be3000d05380e3fe083fbf2c59d 100644
(file)
--- a/
djgpp/djunpack.bat
+++ b/
djgpp/djunpack.bat
@@
-7,12
+7,12
@@
Rem This batch file unpacks the Bison distribution while simultaneously
Rem renaming some of the files whose names are invalid on DOS or conflict
\r
Rem with other file names after truncation to DOS 8+3 namespace.
\r
Rem
\r
Rem renaming some of the files whose names are invalid on DOS or conflict
\r
Rem with other file names after truncation to DOS 8+3 namespace.
\r
Rem
\r
-Rem Copyright (C) 2005 Free Software Foundation, Inc.
\r
+Rem Copyright (C) 2005
-2012
Free Software Foundation, Inc.
\r
Rem
\r
Rem
\r
-Rem This program is free software
;
you can redistribute it and/or modify
\r
+Rem This program is free software
:
you can redistribute it and/or modify
\r
Rem it under the terms of the GNU General Public License as published by
\r
Rem it under the terms of the GNU General Public License as published by
\r
-Rem the Free Software Foundation
; either version 2, or (at your option)
\r
-Rem any later version.
\r
+Rem the Free Software Foundation
, either version 3 of the License, or
\r
+Rem
(at your option)
any later version.
\r
Rem
\r
Rem This program is distributed in the hope that it will be useful,
\r
Rem but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
Rem
\r
Rem This program is distributed in the hope that it will be useful,
\r
Rem but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
@@
-20,25
+20,25
@@
Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Rem GNU General Public License for more details.
\r
Rem
\r
Rem You should have received a copy of the GNU General Public License
\r
Rem GNU General Public License for more details.
\r
Rem
\r
Rem You should have received a copy of the GNU General Public License
\r
-Rem along with this program; if not, write to the Free Software Foundation,
\r
-Rem Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
\r
+Rem along with this program. If not, see <http://www.gnu.org/licenses/>.
\r
Rem
\r
Rem
\r
Rem Invoke like this:
\r
Rem
\r
Rem
\r
Rem
\r
Rem Invoke like this:
\r
Rem
\r
-Rem djunpack bison-XYZ.tar
\r
+Rem djunpack bison-XYZ.tar.gz
\r
+Rem or
\r
+Rem djunpack bison-XYZ.tar.bz2
\r
Rem
\r
Rem where XYZ is the version number. If the argument includes leading
\r
Rem directories, it MUST use backslashes, not forward slashes.
\r
Rem
\r
Rem
\r
Rem where XYZ is the version number. If the argument includes leading
\r
Rem directories, it MUST use backslashes, not forward slashes.
\r
Rem
\r
-Rem The following 2 lines need to be changed with each new Bison release, to
\r
-Rem be identical to the name of the top-level directory where the Bison
\r
-Rem distribution unpacks itself.
\r
+
\r
set ENVIRONMENT_SIZE_TEST_STRING=ENVIRONMENT_SIZE_TEST_STRING
\r
if "%ENVIRONMENT_SIZE_TEST_STRING%"=="ENVIRONMENT_SIZE_TEST_STRING" GoTo EnvOk
\r
Rem If their environment space is too small, re-exec with a larger one
\r
command.com /e:4096 /c %0 %1
\r
GoTo End
\r
set ENVIRONMENT_SIZE_TEST_STRING=ENVIRONMENT_SIZE_TEST_STRING
\r
if "%ENVIRONMENT_SIZE_TEST_STRING%"=="ENVIRONMENT_SIZE_TEST_STRING" GoTo EnvOk
\r
Rem If their environment space is too small, re-exec with a larger one
\r
command.com /e:4096 /c %0 %1
\r
GoTo End
\r
+
\r
:EnvOk
\r
set ENVIRONMENT_SIZE_TEST_STRING=
\r
if "%1" == "" GoTo NoArgument
\r
:EnvOk
\r
set ENVIRONMENT_SIZE_TEST_STRING=
\r
if "%1" == "" GoTo NoArgument
\r
@@
-68,6
+68,7
@@
Rem unpack the source distribution
djtar -x -n fnchange.lst %1
\r
del fnchange.lst
\r
GoTo End
\r
djtar -x -n fnchange.lst %1
\r
del fnchange.lst
\r
GoTo End
\r
+
\r
:NoSed
\r
del junk.tmp
\r
echo FAIL: Sed is not available.
\r
:NoSed
\r
del junk.tmp
\r
echo FAIL: Sed is not available.
\r