trees: condense handle_makefile() a bit
Signed-off-by: Leah Rowe <leah@libreboot.org>audit6
parent
1ec9fc3368
commit
5639481419
|
@ -232,8 +232,7 @@ handle_makefile()
|
|||
|
||||
run_make_command || $err "handle_makefile $cdir: no makefile!"
|
||||
|
||||
_copy=".config"
|
||||
[ "$mode" = "savedefconfig" ] && _copy="defconfig"
|
||||
_copy=".config" && [ "$mode" = "savedefconfig" ] && _copy="defconfig"
|
||||
[ "${mode%config}" = "$mode" ] || x_ cp "$cdir/$_copy" "$config"
|
||||
|
||||
[ -e "$cdir/.git" ] && [ "$project" = "u-boot" ] && \
|
||||
|
|
Loading…
Reference in New Issue