tree-wide: use an absolute path to dnf-json
Previously, all the osbuild-composer tools must be run from a directory with dnf-json. This was often confusing, especially with the dnf-json-tests. This commit changes the path to be absolute, so this is no longer an issue.
This commit is contained in:
parent
b93df4b524
commit
c00cf1ac11
4 changed files with 9 additions and 7 deletions
|
|
@ -137,7 +137,7 @@ func main() {
|
|||
if err != nil {
|
||||
panic("os.UserHomeDir(): " + err.Error())
|
||||
}
|
||||
rpmmd := rpmmd.NewRPMMD(path.Join(homeDir, ".cache/osbuild-composer/rpmmd"), "./dnf-json")
|
||||
rpmmd := rpmmd.NewRPMMD(path.Join(homeDir, ".cache/osbuild-composer/rpmmd"), "/usr/libexec/osbuild-composer/dnf-json")
|
||||
|
||||
s := store.New(&cwd, a, nil)
|
||||
if s == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue