summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-09-30 23:21:22 +0000
committerRoland McGrath <roland@redhat.com>1992-09-30 23:21:22 +0000
commit313e5ec45d303a392d7e7fc9cd97e37715262d6a (patch)
tree2080c43a6578719cd97cafa1298e3b857381b535
parentb0cafff1bfb7d3b79ca06fec15feea5155645aa5 (diff)
downloadgunmake-313e5ec45d303a392d7e7fc9cd97e37715262d6a.tar.gz
Formerly main.c.~60~
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index 7791256..17bab00 100644
--- a/main.c
+++ b/main.c
@@ -590,8 +590,9 @@ main (argc, argv, envp)
makelevel = 0;
}
- /* Always do -w in sub-makes and under -C. */
- print_directory_flag |= directories != 0 || makelevel > 0;
+ /* Except under -s, always do -w in sub-makes and under -C. */
+ if (!silent_flag && (directories != 0 || makelevel > 0))
+ print_directory_flag = 1;
/* Construct the list of include directories to search. */