Fix bug in running orbit on Linux (#1815)

Mkbom was referencing a non-existant folder, updated to point at the correct folder.
This commit is contained in:
chrichts 2021-08-26 23:37:57 +08:00 committed by GitHub
parent 2fd725c81b
commit a9592117a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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