From 5eff2ed5e20470cef3afe3d76f4fdd8fca2d5ff7 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Tue, 1 Dec 1998 06:04:12 +0100 Subject: [PATCH] * egcs_update: Only touch files that already exist. From-SVN: r24023 --- contrib/ChangeLog | 4 ++++ contrib/egcs_update | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 3ad3fa88127..98b7d0b6d76 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 79b84be1fe0..e689b2b8b6d 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