This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[mainline, 3.4] maintainer-scripts/gcc_release


Spotted while working on better branching support (and making a mistake
which should have triggered this).

Applied mainline and 3.4.

Gerald

2004-03-14  Gerald Pfeifer  <gerald@pfeifer.com>

	* gcc_release (announce_snapshot): Use changedir instead of
	plain cd.

Index: gcc_release
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.46
diff -u -3 -p -r1.46 gcc_release
--- gcc_release	10 Feb 2004 11:23:20 -0000	1.46
+++ gcc_release	14 Mar 2004 11:38:29 -0000
@@ -392,7 +392,7 @@ announce_snapshot() {
   inform "Updating links and READMEs on the FTP server"

   TEXT_DATE=`date --date=$DATE +%B\ %d,\ %Y`
-  cd ~ftp/pub/gcc/snapshots
+  changedir ~ftp/pub/gcc/snapshots
   sed -e "s%@DATE@%$DATE%g" \
     -e "s%@TEXT_DATE@%$TEXT_DATE%g" \
     -e "s%@LAST_DATE@%$LAST_DATE%g" \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]