Fix gen-config for empty config files
This commit is contained in:
parent
bbeccc01ac
commit
9ba57e46ee
@ -40,7 +40,7 @@ fi
|
|||||||
base_config="$1"
|
base_config="$1"
|
||||||
local_config="$2"
|
local_config="$2"
|
||||||
|
|
||||||
grep -v '^##' "$local_config" > "$local_config.gen"
|
grep -v '^##' "$local_config" > "$local_config.gen" || [ $? -le 1 ]
|
||||||
|
|
||||||
$linux_merge_config -m "$base_config" "$local_config.gen"
|
$linux_merge_config -m "$base_config" "$local_config.gen"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user