Skip to content

Commit

Permalink
Fix bug where non _tt suffixed files were not getting copied into the…
Browse files Browse the repository at this point in the history
… output zip file.

A `link` to `symlink` conversion was missed when this was originally fixed to run better in a container. It seems the `link` call in Perl fails silently when trying to link across filesystem boundaries, resulting in the file being left out of the resulting zip file.
  • Loading branch information
tim-eves committed Jun 19, 2024
1 parent 5eab854 commit b359a6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/server/fonts2go.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ sub buildfonts{
{
# anything else is just linked in.
appendtemp ("linking '$_'");
link "$fontdir/$subdir/$_", "$tunedDir/$subdir/$_";
symlink "$fontdir/$subdir/$_", "$tunedDir/$subdir/$_";
}
}
closedir(DIR);
Expand Down
2 changes: 1 addition & 1 deletion web/server/fonts3go.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ sub buildfonts{
{
# anything else is just linked in.
appendtemp ("linking '$_'");
link "$fontdir/$subdir/$_", "$tunedDir/$subdir/$_";
symlink "$fontdir/$subdir/$_", "$tunedDir/$subdir/$_";
}
}
closedir(DIR);
Expand Down

0 comments on commit b359a6b

Please sign in to comment.