summaryrefslogtreecommitdiff
path: root/update
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-07-10 20:38:36 +0100
committerLeah Rowe <leah@libreboot.org>2024-07-10 21:00:16 +0100
commitc0a4df688c2844794485709e82a0b821e2a32741 (patch)
tree1f73c5ac8230c25c6848cf9268a797eb9bf06540 /update
parent459db1cc2eaa1d40543f7f63345ea4ca27daad9a (diff)
trees: use wrapper for dry-running make commands
instead of using lots of if/else conditions, do that once and set a variable, dry, to : if not doing a dry run, the variable is empty. prefix this variable in places where you don't want a certain action to be performed, on dry runs. more specifically, : does *nothing* and always returns with zero status (success). this results in cleaner code, and a small sloccount reduction. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'update')
0 files changed, 0 insertions, 0 deletions