summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-15 04:58:07 +0000
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-15 04:58:07 +0000
commit97c1c3bc5eca592f03370b82bf1632b3a2fe9a00 (patch)
tree1058cbbb32c6f31e6b285dedb6e78e8932ee456e /contrib
parent2b7de29bc783a5165001de2cf3c1da9ae320aa79 (diff)
downloadgcc-97c1c3bc5eca592f03370b82bf1632b3a2fe9a00.tar.gz
* gcc_update (touch_files): Enhance make portability.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42100 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/gcc_update2
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index edd26aaaae5..6854e5745a5 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-14 Loren J. Rittle <ljrittle@acm.org>
+
+ * gcc_update (touch_files): Enhance make portability.
+
2001-05-14 Alexandre Oliva <aoliva@redhat.com>
* gcc_update (touch_files): Use a Makefile to touch files.
diff --git a/contrib/gcc_update b/contrib/gcc_update
index 5960e373944..3db162421a2 100755
--- a/contrib/gcc_update
+++ b/contrib/gcc_update
@@ -108,7 +108,7 @@ touch_files () {
files_and_dependencies | sed 's, ,: ,' >> Makefile.$$
files_and_dependencies | sed 's, .*, \\,' >> Makefile.$$
echo ':' >> Makefile.$$
- echo ' @for f in $?; do test ! -f $$f && exit 0; done; \' >> Makefile.$$
+ echo ' @for f in $?; do test ! -f $$f && exit 0; true; done; \' >> Makefile.$$
echo ' echo Touching $@...; \' >> Makefile.$$
echo ' echo Touching $@... 1>&2; \' >> Makefile.$$
echo ' touch $@' >> Makefile.$$