From 5ba0433b5fadb36e8eadec8382d2750b4e912a2c Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 30 Jun 2024 17:04:24 +0100 Subject: git.sh: condense fetch_targets() a bit Signed-off-by: Leah Rowe --- include/git.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') 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() -- cgit v1.2.1