mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 08:40:14 +02:00
git.sh: short git_prep command in fetch_targets()
loc is already set, and will correspond to the same path, so we can quite conveniently use it. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+3
-2
@@ -11,9 +11,10 @@ fetch_targets()
|
|||||||
x_ ./update trees -f "$project" "$tree_depend"
|
x_ ./update trees -f "$project" "$tree_depend"
|
||||||
e "src/$project/$tree" d && return 0
|
e "src/$project/$tree" d && return 0
|
||||||
|
|
||||||
|
|
||||||
printf "Creating %s tree %s\n" "$project" "$tree"
|
printf "Creating %s tree %s\n" "$project" "$tree"
|
||||||
git_prep "src/$project/$project" "src/$project/$project" \
|
git_prep "$loc" "$loc" "$PWD/$cfgsdir/$tree/patches" \
|
||||||
"$PWD/$cfgsdir/$tree/patches" "src/$project/$tree" "update"
|
"${loc%/*}/$tree" u
|
||||||
nuke "$project/$tree" "$project/$tree"
|
nuke "$project/$tree" "$project/$tree"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user