From c44a764be4fc98c70b1bd611e82d66ae750deb3e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 26 Aug 1994 19:44:50 +0000 Subject: [PATCH] ($(objpfx)sysd-dirs): Use sed to remove # comments from Subdirs files. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 368be6929e..52a1afebcc 100644 --- a/Makefile +++ b/Makefile @@ -127,7 +127,7 @@ $(objpfx)sysd-dirs: $(+sysdir_pfx)config.make (echo define sysdep-subdirs; \ for dir in $(sysdirs); do \ if [ -r $(sysdep_dir)/$$dir/Subdirs ]; then \ - cat $(sysdep_dir)/$$dir/Subdirs; \ + sed 's/#.*$$//' $(sysdep_dir)/$$dir/Subdirs; \ else true; \ fi; \ done; \