Skip to content

Commit

Permalink
Resolve variables in list-file "dir" attribute. (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-grecourt authored Jan 4, 2024
1 parent 0299f54 commit ec204ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ List<Substitution> substitutions() {

@Override
protected void doExecute(StagingContext ctx, Path dir, Map<String, String> vars) {
Path resolved = dir.resolve(dirName);
Path resolved = dir.resolve(resolveVar(dirName, vars));
List<Path> files = walk(resolved, FILE_VISIT_OPTIONS, this::filter);
for (Path file : files) {
String entry = normalizePath(dir.relativize(file));
Expand Down

0 comments on commit ec204ca

Please sign in to comment.