git.sh: don't delete .git if src/project/project
otherwise, "./update release" will epicly fail Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
245b4eb21d
commit
00e00a18d0
|
@ -104,7 +104,9 @@ git_prep()
|
|||
fi
|
||||
fi
|
||||
|
||||
[ "$xbmk_release" = "y" ] && rmgit "$tmpgit"
|
||||
[ "$xbmk_release" = "y" ] && [ "$_loc" != "src/$project/$project" ] \
|
||||
&& rmgit "$tmpgit"
|
||||
|
||||
|
||||
[ "$_loc" = "${_loc%/*}" ] || x_ mkdir -p "${_loc%/*}"
|
||||
mv "$tmpgit" "$_loc" || $err "git_prep: !mv $tmpgit $_loc"
|
||||
|
|
Loading…
Reference in New Issue