aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-05-17 22:48:41 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-05-17 22:48:41 +0000
commit3d80085181fbd8a65d21e2cad08e25ba302cad26 (patch)
treeaacae625d078329324a423799ea82968de1875fb
parent4cc4e2461d5955e9c5c9be733ff860dccc315af9 (diff)
* gcc_update (touch_files): Use simpler, yet as portable, syntax.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@42229 138bc75d-0d04-0410-961f-82ee72b054a4
-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 6854e5745a5..4e744d01a11 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-17 Alexandre Oliva <aoliva@redhat.com>
+
+ * gcc_update (touch_files): Use simpler, yet as portable, syntax.
+
2001-05-14 Loren J. Rittle <ljrittle@acm.org>
* 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.$$