Fix gen-config for empty config files

This commit is contained in:
Simon Gaiser 2018-01-05 20:46:05 +01:00
parent bbeccc01ac
commit 9ba57e46ee

View File

@ -40,7 +40,7 @@ fi
base_config="$1"
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"