summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinclude/git.sh4
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()