aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2001-05-15 04:58:07 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2001-05-15 04:58:07 +0000
commitaf22667e53c33cf76ca6a5d822875f384c929719 (patch)
tree1058cbbb32c6f31e6b285dedb6e78e8932ee456e /contrib
parent0d30d435868d023a0a4684454c401380d5650351 (diff)
downloadgcc-af22667e53c33cf76ca6a5d822875f384c929719.zip
gcc-af22667e53c33cf76ca6a5d822875f384c929719.tar.gz
gcc-af22667e53c33cf76ca6a5d822875f384c929719.tar.bz2
* gcc_update (touch_files): Enhance make portability.
From-SVN: r42100
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 edd26aa..6854e57 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 5960e37..3db1624 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.$$