summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-01 05:04:12 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-01 05:04:12 +0000
commit796f074b5c4c31e45b2e0a5ad18ec28cd54788ff (patch)
treed1edcc32140ec3a9cd5eb9f6b0dbb1e9c0d966cd /contrib
parente93dede6a494560fd7bd43e2186cad30a243eb72 (diff)
downloadgcc-796f074b5c4c31e45b2e0a5ad18ec28cd54788ff.tar.gz
* egcs_update: Only touch files that already exist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24023 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/egcs_update4
2 files changed, 7 insertions, 1 deletions
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 <pfeifer@dbai.tuwien.ac.at>
+
+ * egcs_update: Only touch files that already exist.
+
1998-11-29 Alexandre Oliva <oliva@dcc.unicamp.br>
* 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