OSDN Git Service

* egcs_update: Only touch files that already exist.
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Dec 1998 05:04:12 +0000 (05:04 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Dec 1998 05:04:12 +0000 (05:04 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24023 138bc75d-0d04-0410-961f-82ee72b054a4

contrib/ChangeLog
contrib/egcs_update

index 3ad3fa8..98b7d0b 100644 (file)
@@ -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
index 79b84be..e689b2b 100755 (executable)
@@ -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