Now default source path is current working directory
This commit is contained in:
parent
e1a3de5d05
commit
0e03daf21c
4
main.go
4
main.go
@ -346,6 +346,10 @@ func main() {
|
|||||||
log.Fatalln(err)
|
log.Fatalln(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ka.SourcePath == "" {
|
||||||
|
ka.SourcePath = "."
|
||||||
|
}
|
||||||
|
|
||||||
kcfgEnv := "OUT_OF_TREE_KERNELS_CONFIG"
|
kcfgEnv := "OUT_OF_TREE_KERNELS_CONFIG"
|
||||||
kcfgPath := os.Getenv(kcfgEnv)
|
kcfgPath := os.Getenv(kcfgEnv)
|
||||||
if !exists(kcfgPath) {
|
if !exists(kcfgPath) {
|
||||||
|
Loading…
Reference in New Issue
Block a user