Formerly main.c.~60~
authorRoland McGrath <roland@redhat.com>
Wed, 30 Sep 1992 23:21:22 +0000 (23:21 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 30 Sep 1992 23:21:22 +0000 (23:21 +0000)
main.c

diff --git a/main.c b/main.c
index 7791256..17bab00 100644 (file)
--- 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.  */