diff options
author | Leah Rowe <leah@libreboot.org> | 2025-10-06 12:43:04 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-10-06 12:43:04 +0100 |
commit | 1b54c7a744ac474bdcf0844ace97741b949a6fa1 (patch) | |
tree | 8a98ef98158264612a0d9e14852881b837d4c4ae /include/tree.sh | |
parent | afccecbde01ce657bc7a65c2f69f9b4fbd958739 (diff) |
rom.sh: use if_dry_build macro
instead of checking if_not_dry_build.
use it here the same way.
yes. shell script macros. it's how i roll.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/tree.sh')
-rw-r--r-- | include/tree.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tree.sh b/include/tree.sh index 19060110..7b5d57b5 100644 --- a/include/tree.sh +++ b/include/tree.sh @@ -35,6 +35,7 @@ cmakedir="" defconfig="" postmake="" mkhelpercfg="" +if_dry_build=":" if_not_dry_build="" dest_dir="" mdir="" @@ -73,6 +74,7 @@ trees() # and $if_not_dry_build is prefixed to skipped commands if_not_dry_build=":" + if_dry_build="" ;; -b) : ;; -u) mode="oldconfig" ;; @@ -82,10 +84,12 @@ trees() -f) # download source code for a project do_make="n" # lets us know not to build anything if_not_dry_build=":" + if_dry_build="" ;; -F) # same as -F, but don't skip git fetch/pull on cache do_make="n" # lets us know not to build anything if_not_dry_build=":" + if_dry_build="" forcepull="y" ;; -s) mode="savedefconfig" ;; |