Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8248701: On Windows generated modules-deps.gmk can contain backslash-…
…r (CR) characters

Backport-of: 0853b33
  • Loading branch information
RealLucy committed May 10, 2023
1 parent 7b2d5fc commit 1f49004
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make/common/Modules.gmk
Expand Up @@ -337,6 +337,7 @@ $(MODULE_DEPS_MAKEFILE): $(MODULE_INFOS) \
sub(/\/\*.*\*\//, ""); \
gsub(/^ +\*.*/, ""); \
gsub(/ /, ""); \
gsub(/\r/, ""); \
printf(" %s", $$0) } \
END { printf("\n") }' $m && \
$(PRINTF) "TRANSITIVE_MODULES_$(call GetModuleNameFromModuleInfo, $m) :=" && \
Expand All @@ -350,6 +351,7 @@ $(MODULE_DEPS_MAKEFILE): $(MODULE_INFOS) \
sub(/\/\*.*\*\//, ""); \
gsub(/^ +\*.*/, ""); \
gsub(/ /, ""); \
gsub(/\r/, ""); \
printf(" %s", $$0) } \
END { printf("\n") }' $m \
) >> $@ $(NEWLINE))
Expand Down

1 comment on commit 1f49004

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.