aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-05-17 22:48:41 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2001-05-17 22:48:41 +0000
commite8dc2763f141a7554c3e8b8a04055d50c52601ea (patch)
treeaacae625d078329324a423799ea82968de1875fb /contrib
parent3d2999ba098e1a539dbab56331d1ed80773848a3 (diff)
downloadgcc-e8dc2763f141a7554c3e8b8a04055d50c52601ea.zip
gcc-e8dc2763f141a7554c3e8b8a04055d50c52601ea.tar.gz
gcc-e8dc2763f141a7554c3e8b8a04055d50c52601ea.tar.bz2
* gcc_update (touch_files): Use simpler, yet as portable, syntax.
From-SVN: r42229
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 6854e57..4e744d0 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 3db1624..13338f6 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.$$