fix(update_appup): clean untracked nested git directories

Since the script copies the current workdir into the temporary
directory for the previous build, when we latter try to clean the
directory, `git clean -fdx` refuses to clean the folders of some
dependencies:

```
+ git clean -fdx
Skipping repository _build/default/lib/lc
```

So, if the branch contains a dependency with changed version, it'll
not be picked up by the script, as both versions will be identical and
hence have no `.appup` difference.
This commit is contained in:
Thales Macedo Garitezi 2022-04-28 11:09:25 -03:00
parent f07bb5a5d1
commit 0cfeca9d90
No known key found for this signature in database
GPG Key ID: DD279F8152A9B6DD
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ else
git fetch "$REMOTE"
fi
git reset --hard
git clean -fdx
git clean -ffdx
git checkout "${PREV_TAG}"
make "$PROFILE"
popd