build: stop rewind from clearing tools
Apparently git-clean also cleans files globbed in .gitignore which is a bad idea.
This commit is contained in:
parent
5616784d9b
commit
39c46b4272
|
@ -304,7 +304,9 @@ done
|
|||
|
||||
git_reset()
|
||||
{
|
||||
git -C ${1} clean -xdqf .
|
||||
if [ ${1} != ${TOOLSDIR} ]; then
|
||||
git -C ${1} clean -xdqf .
|
||||
fi
|
||||
REPO_TAG=${2}
|
||||
if [ -z "${REPO_TAG}" ]; then
|
||||
git_tag ${1} ${PRODUCT_VERSION}
|
||||
|
|
Loading…
Reference in New Issue