From a9592117a57a1879cba1014d623ce5b5ec22b03f Mon Sep 17 00:00:00 2001 From: chrichts <84300304+chrichts@users.noreply.github.com> Date: Thu, 26 Aug 2021 23:37:57 +0800 Subject: [PATCH] Fix bug in running orbit on Linux (#1815) Mkbom was referencing a non-existant folder, updated to point at the correct folder. --- orbit/pkg/packaging/macos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orbit/pkg/packaging/macos.go b/orbit/pkg/packaging/macos.go index 1c3d930ae5..c0507b8eac 100644 --- a/orbit/pkg/packaging/macos.go +++ b/orbit/pkg/packaging/macos.go @@ -232,7 +232,7 @@ func xarBom(opt Options, rootPath string) error { case "darwin": cmdMkbom = exec.Command("mkbom", filepath.Join(rootPath, "root"), filepath.Join("flat", "base.pkg", "Bom")) case "linux": - cmdMkbom = exec.Command("mkbom", "-u", "0", "-g", "80", filepath.Join(rootPath, "flat", "root"), filepath.Join("flat", "base.pkg", "Bom")) + cmdMkbom = exec.Command("mkbom", "-u", "0", "-g", "80", filepath.Join(rootPath, "root"), filepath.Join("flat", "base.pkg", "Bom")) } cmdMkbom.Dir = rootPath cmdMkbom.Stdout = os.Stdout