Skip to content

Commit

Permalink
Allow PATCHFILES multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
rillig committed Jan 26, 2025
1 parent 7386cfb commit 16ec7c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v23/varorderchecker.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ var varorderVariables = []varorderVariable{
{"", once},
{"PATCH_SITES", optional},
{"PATCH_SITE_SUBDIR", optional},
{"PATCHFILES", optional},
{"PATCHFILES", many},
{"PATCH_DIST_ARGS", optional},
{"PATCH_DIST_STRIP", optional},
{"PATCH_DIST_CAT", optional},
Expand Down
4 changes: 3 additions & 1 deletion v23/varorderchecker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ func (s *Suite) Test_VarorderChecker_Check__once_and_optional(c *check.C) {
"",
"PATCH_SITES=",
"PATCH_SITE_SUBDIR=",
"PATCHFILES=",
"PATCH_DIST_ARGS=",
"PATCH_DIST_STRIP=",
"PATCH_DIST_CAT=",
Expand Down Expand Up @@ -120,6 +119,9 @@ func (s *Suite) Test_VarorderChecker_Check__once_and_many(c *check.C) {
"SITES.*=",
"SITES.*=",
"",
"PATCHFILES=",
"PATCHFILES=",
"",
"COMMENT=",
"LICENSE=",
"",
Expand Down

0 comments on commit 16ec7c1

Please sign in to comment.