From: Phil Edwards Date: Mon, 25 Jun 2001 19:26:25 +0000 (+0000) Subject: update_version: Add command-line argument capability... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ebbcb1bd68909c08d50bc068f5f0e14924239c4;p=gcc.git update_version: Add command-line argument capability... 2001-06-25 Phil Edwards * update_version: Add command-line argument capability, also bump version for libstdc++-v3, and exit with the return code from the cvs commit. * crontab: Call update_version with arguments instead of calling update_branch_version. * update_branch_version: Remove. From-SVN: r43555 --- diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index c8117cf453a..9c07464a7bc 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,12 @@ +2001-06-25 Phil Edwards + + * update_version: Add command-line argument capability, also + bump version for libstdc++-v3, and exit with the return code from + the cvs commit. + * crontab: Call update_version with arguments instead of + calling update_branch_version. + * update_branch_version: Remove. + 2001-06-08 Gerald Pfeifer * update_web_docs: Only update the install documentation for the diff --git a/maintainer-scripts/crontab b/maintainer-scripts/crontab index 9690315e1f8..8b1b9ef36b8 100644 --- a/maintainer-scripts/crontab +++ b/maintainer-scripts/crontab @@ -1,4 +1,4 @@ 16 0 * * * sh /home/gccadmin/scripts/update_version -16 0 * * * sh /home/gccadmin/scripts/update_branch_version +16 0 * * * sh /home/gccadmin/scripts/update_version -rgcc-3_0-branch 50 0 * * * sh /home/gccadmin/scripts/update_web_docs 55 0 * * * sh /home/gccadmin/scripts/update_web_docs_libstdcxx diff --git a/maintainer-scripts/update_branch_version b/maintainer-scripts/update_branch_version deleted file mode 100755 index 88b05643793..00000000000 --- a/maintainer-scripts/update_branch_version +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -# Run this from /tmp. -CVSROOT=/cvs/gcc -export CVSROOT -BRANCH=gcc-3_0-branch -export BRANCH -/bin/rm -rf /tmp/$$ -/bin/mkdir /tmp/$$ -cd /tmp/$$ - -CURR_DATE=`/bin/date +"%Y%m%d"` - -FILES="gcc/gcc/version.c gcc/gcc/f/version.c gcc/libf2c/libF77/Version.c gcc/libf2c/libI77/Version.c gcc/libf2c/libU77/Version.c" - -/usr/local/bin/cvs co -r$BRANCH $FILES - -for file in $FILES; do - - OLD_VERSION=`/bin/cat $file` - /bin/sed -e "s/\(.*\"[^ ]*\) [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/\1 ${CURR_DATE}/" >${file} <${file} <${file} <