summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/git.sh b/include/git.sh
index 4cd70f29..6dbc2a85 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -11,9 +11,10 @@ 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 "src/$project/$project" "src/$project/$project" \
- "$PWD/$cfgsdir/$tree/patches" "src/$project/$tree" "update"
+ git_prep "$loc" "$loc" "$PWD/$cfgsdir/$tree/patches" \
+ "${loc%/*}/$tree" u
nuke "$project/$tree" "$project/$tree"
}