git.sh: don't delete .git if src/project/project
otherwise, "./update release" will epicly fail Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
0ecb062df0
commit
8d4d063ace
|
@ -109,7 +109,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