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

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

From-SVN: r79475
This commit is contained in:
Gerald Pfeifer 2004-03-14 11:39:31 +00:00 committed by Gerald Pfeifer
parent d01b30dcaf
commit 004a835502
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-03-14 Gerald Pfeifer <gerald@pfeifer.com>
* gcc_release (announce_snapshot): Use changedir instead of
plain cd.
2004-02-10 Arnaud Charlet <charlet@act-europe.fr>
* gcc_release: Add libada as part of ADA_DIRS.

View File

@ -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" \