diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2001-05-15 04:58:07 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2001-05-15 04:58:07 +0000 |
commit | af22667e53c33cf76ca6a5d822875f384c929719 (patch) | |
tree | 1058cbbb32c6f31e6b285dedb6e78e8932ee456e | |
parent | 0d30d435868d023a0a4684454c401380d5650351 (diff) | |
download | gcc-af22667e53c33cf76ca6a5d822875f384c929719.zip gcc-af22667e53c33cf76ca6a5d822875f384c929719.tar.gz gcc-af22667e53c33cf76ca6a5d822875f384c929719.tar.bz2 |
* gcc_update (touch_files): Enhance make portability.
From-SVN: r42100
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/gcc_update | 2 |
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.$$ |