Skip to content

Commit 1ac50db

Browse files
committed
Fix darwin-pkg
1 parent d1fa43c commit 1ac50db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/packaging/darwin-pkg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var DarwinPkgTask = &packagingTask{
2222
packagingFunction: func(tmpPath, applicationName, packageName, executableName, version, release string) (string, error) {
2323
outputFileName := fmt.Sprintf("%s %s.pkg", applicationName, version)
2424

25-
payload, err := os.OpenFile(filepath.Join("flat", "base.pkg", "Payload"), os.O_RDWR|os.O_CREATE, 0755)
25+
payload, err := os.OpenFile(filepath.Join(tmpPath, "flat", "base.pkg", "Payload"), os.O_RDWR|os.O_CREATE, 0755)
2626
if err != nil {
2727
return "", err
2828
}

0 commit comments

Comments
 (0)