fix: define autogen var
This commit is contained in:
parent
c1ee3e1ac0
commit
7d28549db7
3
pack.go
3
pack.go
@ -48,7 +48,8 @@ func (cmd *PackCmd) Run(g *Globals) (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if cmd.Autogen {
|
if cmd.Autogen {
|
||||||
err = KernelAutogenCmd{}.Run(
|
autogen := KernelAutogenCmd{}
|
||||||
|
err = autogen.Run(
|
||||||
&KernelCmd{
|
&KernelCmd{
|
||||||
NoDownload: cmd.NoDownload,
|
NoDownload: cmd.NoDownload,
|
||||||
UseHost: cmd.UseHost,
|
UseHost: cmd.UseHost,
|
||||||
|
Loading…
Reference in New Issue
Block a user