From: Gerald Pfeifer Date: Tue, 1 Dec 1998 05:04:12 +0000 (+0100) Subject: * egcs_update: Only touch files that already exist. X-Git-Tag: prereleases/libgcj-0.1~1839 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5eff2ed5e20470cef3afe3d76f4fdd8fca2d5ff7;p=thirdparty%2Fgcc.git * egcs_update: Only touch files that already exist. From-SVN: r24023 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 3ad3fa881279..98b7d0b6d76a 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +1998-11-30 Gerald Pfeifer + + * egcs_update: Only touch files that already exist. + 1998-11-29 Alexandre Oliva * test_summary (EOF): remove double backslash diff --git a/contrib/egcs_update b/contrib/egcs_update index 79b84be1fe0a..e689b2b8b6dc 100755 --- a/contrib/egcs_update +++ b/contrib/egcs_update @@ -88,5 +88,7 @@ for f in gcc/c-parse.y \ gcc/fixinc/inclhack.sh \ gcc/fixinc/fixincl.sh do - touch $f + if [ -f $f ]; then + touch $f + fi done