($(objpfx)sysd-dirs): Use sed to remove # comments from Subdirs files.

This commit is contained in:
Roland McGrath 1994-08-26 19:44:50 +00:00
parent 60def30312
commit c44a764be4
1 changed files with 1 additions and 1 deletions

View File

@ -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; \