diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-30 17:04:24 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-30 17:04:24 +0100 |
commit | 5ba0433b5fadb36e8eadec8382d2750b4e912a2c (patch) | |
tree | 42e118c39b1ba79f947f58ebeb2e27a7a058f889 | |
parent | 4772186b19fe4bdf412bb3364b9358d5f59eff55 (diff) |
git.sh: condense fetch_targets() a bit
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | include/git.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/git.sh b/include/git.sh index 6dbc2a85..a832030a 100755 --- a/include/git.sh +++ b/include/git.sh @@ -11,11 +11,9 @@ fetch_targets() x_ ./update trees -f "$project" "$tree_depend" e "src/$project/$tree" d && return 0 - printf "Creating %s tree %s\n" "$project" "$tree" git_prep "$loc" "$loc" "$PWD/$cfgsdir/$tree/patches" \ - "${loc%/*}/$tree" u - nuke "$project/$tree" "$project/$tree" + "${loc%/*}/$tree" u; nuke "$project/$tree" "$project/$tree" } fetch_project() |