mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
trees: initialise badhash no n, not empty string
this is another alternative to the previous fix. this one is therefore now a pre-emptive fix, in case other code is written in the future that makes use of badhash. the badhash variable in a y/n variable, so initialise to n. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+4
-3
@@ -12,7 +12,8 @@ set -u -e
|
||||
eval `setvars "" xarch srcdir premake cmakedir xlang mode makeargs elfdir cmd \
|
||||
project target target_dir targets xtree _f release bootstrapargs mkhelper \
|
||||
autoconfargs listfile autogenargs btype tree rev tree_depend build_depend \
|
||||
defconfig postmake mkhelpercfg dry dest_dir mdir badhash`
|
||||
defconfig postmake mkhelpercfg dry dest_dir mdir`
|
||||
badhash="n"
|
||||
|
||||
main()
|
||||
{
|
||||
@@ -115,8 +116,8 @@ handle_defconfig()
|
||||
configure_project()
|
||||
{
|
||||
eval `setvars "" xarch xlang build_depend autoconfargs xtree postmake \
|
||||
tree_depend makeargs btype mkhelper bootstrapargs premake release \
|
||||
badhash`
|
||||
tree_depend makeargs btype mkhelper bootstrapargs premake release`
|
||||
badhash="n"
|
||||
|
||||
[ -f "$1/target.cfg" ] || btype="auto"
|
||||
[ -f "$datadir/mkhelper.cfg" ] && eval `setcfg "$datadir/mkhelper.cfg"`
|
||||
|
||||
Reference in New Issue
Block a user