Skip to content

Commit

Permalink
[maketmpl] perform filepath convertion (#366)
Browse files Browse the repository at this point in the history
not that we need to run on windows, but it is the right thing to do
nonetheless
  • Loading branch information
aslonnie authored Sep 29, 2024
1 parent b82d650 commit 31e55ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/maketmpl/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func buildZip(srcDir string, files []*zipFile, out string) error {
if f.rc == nil {
src := f.srcFilePath
if src == "" {
src = filepath.Join(srcDir, f.path)
src = filepath.Join(srcDir, filepath.FromSlash(f.path))
}
if err := addFileToZip(z, src, f.path); err != nil {
return fmt.Errorf("add file %q to zip: %w", f, err)
Expand Down

0 comments on commit 31e55ce

Please sign in to comment.