summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git.sh b/include/git.sh
index 04143540..bc818b19 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -111,6 +111,8 @@ git_prep()
fi
fi
+ [ "$xbmk_release" = "y" ] && rmgit "$tmpgit"
+
[ "$_loc" = "${_loc%/*}" ] || x_ mkdir -p "${_loc%/*}"
mv "$tmpgit" "$_loc" || $err "git_prep: !mv $tmpgit $_loc"
[ -n "$xtree" ] && [ ! -d "src/coreboot/$xtree" ] && \