mirror of
https://github.com/Jguer/yay
synced 2024-10-31 13:42:27 +00:00
Fill fields of CmdBuilder with options specified in commandline
This commit is contained in:
parent
13caa7fb3d
commit
8c4fe837d3
1 changed files with 8 additions and 2 deletions
|
@ -817,8 +817,14 @@ func (a *Arguments) ParseCommandLine(config *Configuration) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
a.extractYayOptions(config)
|
a.extractYayOptions(config)
|
||||||
config.Runtime.CmdBuilder.MakepkgFlags = strings.Fields(config.MFlags)
|
|
||||||
config.Runtime.CmdBuilder.GitFlags = strings.Fields(config.GitFlags)
|
cmdBuilder := config.Runtime.CmdBuilder
|
||||||
|
cmdBuilder.GitBin = config.GitBin
|
||||||
|
cmdBuilder.GitFlags = strings.Fields(config.GitFlags)
|
||||||
|
cmdBuilder.MakepkgFlags = strings.Fields(config.MFlags)
|
||||||
|
cmdBuilder.MakepkgConfPath = config.MakepkgConf
|
||||||
|
cmdBuilder.MakepkgBin = config.MakepkgBin
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue