summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-17 22:48:41 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-17 22:48:41 +0000
commite7a1c95ca0c5e499a16b20dab623f81988ba2424 (patch)
treeaacae625d078329324a423799ea82968de1875fb /contrib
parent40999ed80ab517797f3af9e04ce97c2fec9e55a9 (diff)
downloadgcc-e7a1c95ca0c5e499a16b20dab623f81988ba2424.tar.gz
* gcc_update (touch_files): Use simpler, yet as portable, syntax.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42229 138bc75d-0d04-0410-961f-82ee72b054a4
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 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.$$