PATCH: contrib/gcc_release
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Sun Jun 3 04:12:00 GMT 2001
I installed the following patch as obvious (on the branch only, as
mainline doesn't have this script yet).
Gerald
2001-06-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* gcc_release: Fail for unknown modes instead of ignoring them.
Index: contrib/gcc_release
===================================================================
RCS file: /cvs/gcc/gcc/contrib/Attic/gcc_release,v
retrieving revision 1.1.2.2
diff -u -3 -p -r1.1.2.2 gcc_release
--- gcc_release 2001/05/27 01:51:28 1.1.2.2
+++ gcc_release 2001/06/02 21:24:03
@@ -426,10 +426,11 @@ export CVSROOT
# Handle the major modes.
while [ $# -ne 0 ]; do
case $1 in
- sources) MODE_SOURCES=1;;
+ sources) MODE_SOURCES=1;;
tarfiles) MODE_TARFILES=1;;
- upload) MODE_UPLOAD=1;;
- all) MODE_SOURCES=1; MODE_TARFILES=1; MODE_UPLOAD=1;
+ upload) MODE_UPLOAD=1;;
+ all) MODE_SOURCES=1; MODE_TARFILES=1; MODE_UPLOAD=1;;
+ *) error "Unknown mode $1";;
esac
shift
done
More information about the Gcc-patches
mailing list