diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-27 13:26:23 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-27 13:26:23 +0000 |
commit | 4c1921855a7cf59cd3419acc2eabeec0743d57f6 (patch) | |
tree | 1027fd035e1b147a51a53d879e3d5c01ed025e07 /maintainer-scripts | |
parent | 465be8f361bc020aa8907b4e55d1bb7c6505fa50 (diff) | |
download | gcc-4c1921855a7cf59cd3419acc2eabeec0743d57f6.tar.gz |
* gcc_release (build_diffs): Add diagnostics in case we cannot
generate a specific diff file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67186 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts')
-rw-r--r-- | maintainer-scripts/ChangeLog | 5 | ||||
-rwxr-xr-x | maintainer-scripts/gcc_release | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index b6dfc1cbed7..2bd6bd5f5ab 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -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 diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 58538ffed16..df6ad80ae2f 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -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 |