git.sh: simplify link_crossgcc()
Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
77e482aae6
commit
1cede024d6
|
@ -163,8 +163,7 @@ git_am_patches()
|
||||||
link_crossgcc()
|
link_crossgcc()
|
||||||
{
|
{
|
||||||
(
|
(
|
||||||
cd "$tmpgit/util" || $err "prep $1: !cd $tmpgit/util"
|
x_ cd "$tmpgit/util" && x_ rm -Rf crossgcc
|
||||||
rm -Rf crossgcc || $err "prep $1: !rm xgcc"
|
|
||||||
ln -s "../../$xtree/util/crossgcc" crossgcc || $err "$1: !xgcc link"
|
ln -s "../../$xtree/util/crossgcc" crossgcc || $err "$1: !xgcc link"
|
||||||
) || $err "$1: !xgcc link"
|
) || $err "$1: !xgcc link"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue