Skip to content

Commit

Permalink
fix for header files check
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jun 19, 2018
1 parent a60b8bb commit a693dc8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion ChangeLog
@@ -1,4 +1,8 @@
2018-06-04 Shahzad Muzaffar <@smuzaffar>
2018-06-19 Shahzad Muzaffar <@smuzaffar>
V05-07-22: Fix for headers checks: Use current package if no build
product found for a header file.

2018-06-18 Shahzad Muzaffar <@smuzaffar>
V05-07-21: Only check headers of interface directory.

2018-06-04 Shahzad Muzaffar <@smuzaffar>
Expand Down
3 changes: 2 additions & 1 deletion SCRAM/GMake/Makefile.chk_headers
Expand Up @@ -53,7 +53,8 @@ $(USEDBY_FILE): $(RELEASETOP)/etc/dependencies/usedby.out.gz
$(WORKINGDIR)/check_header/.prods/%: $(PROD2SRC_FILE) $(USEDBY_FILE)
@[ -d $(@D) ] || $(CMD_mkdir) -p $(@D) &&\
for s in $$($(CMD_grep) '^$* ' $(USEDBY_FILE) | $(CMD_sed) 's|^$* ||') ; do \
p=$$($(CMD_grep) " $$s" $(PROD2SRC_FILE) | head -1 | awk '{print $$1}') &&\
p=$$($(CMD_grep) " $$s" $(PROD2SRC_FILE) | head -1 | awk '{print $$1}') &&\
if [ "$$p" = "" ] ; then continue ; fi &&\
ok=no &&\
if [ -e $(SCRAM_SOURCEDIR)/$$s ] ; then \
ok=yes;\
Expand Down

0 comments on commit a693dc8

Please sign in to comment.