gcc_release (build_diffs): Add diagnostics in case we cannot generate a specific diff file.

* gcc_release (build_diffs): Add diagnostics in case we cannot
	generate a specific diff file.

From-SVN: r67186
This commit is contained in:
Gerald Pfeifer 2003-05-27 15:26:23 +02:00 committed by Gerald Pfeifer
parent 98ad580793
commit 0a1c5051cb
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-05-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* gcc_release (build_diffs): Add diagnostics in case we cannot
generate a specific diff file.
2003-05-24 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* gcc_release (build_sources): Only update ChangeLog files which

View File

@ -306,7 +306,11 @@ build_diffs() {
for f in gcc gcc-ada gcc-g++ gcc-g77 gcc-java gcc-objc gcc-testsuite gcc-core; do
old_tar=${old_dir}/${f}-${old_vers}.tar.gz
new_tar=${WORKING_DIRECTORY}/${f}-${RELEASE}.tar.gz
if [ -e $old_tar ] && [ -e $new_tar ]; then
if [ ! -e $old_tar ]; then
inform "$old_tar not found; not generating diff file"
elif [ ! -e $new_tar ]; then
inform "$new_tar not found; not generating diff file"
else
build_diff $old_tar gcc-${old_vers} $new_tar gcc-${RELEASE} \
${f}-${old_vers}-${RELEASE}.diff.gz
fi