From e8dc2763f141a7554c3e8b8a04055d50c52601ea Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 17 May 2001 22:48:41 +0000 Subject: [PATCH] * gcc_update (touch_files): Use simpler, yet as portable, syntax. From-SVN: r42229 --- contrib/ChangeLog | 4 ++++ contrib/gcc_update | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 6854e5745a5..4e744d01a11 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2001-05-17 Alexandre Oliva + + * gcc_update (touch_files): Use simpler, yet as portable, syntax. + 2001-05-14 Loren J. Rittle * gcc_update (touch_files): Enhance make portability. diff --git a/contrib/gcc_update b/contrib/gcc_update index 3db162421a2..13338f6f4e1 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; true; done; \' >> Makefile.$$ + echo ' @for f in $?; do test -f $$f || exit 0; done; \' >> Makefile.$$ echo ' echo Touching $@...; \' >> Makefile.$$ echo ' echo Touching $@... 1>&2; \' >> Makefile.$$ echo ' touch $@' >> Makefile.$$ -- 2.30.2