Fix the reclone to actually remove *.pyc
| ... | ... |
@@ -397,7 +397,7 @@ function git_clone {
|
| 397 | 397 |
# remove the existing ignored files (like pyc) as they cause breakage |
| 398 | 398 |
# (due to the py files having older timestamps than our pyc, so python |
| 399 | 399 |
# thinks the pyc files are correct using them) |
| 400 |
- sudo git clean -f -d |
|
| 400 |
+ find $GIT_DEST -name '*.pyc' -delete |
|
| 401 | 401 |
git checkout -f origin/$GIT_BRANCH |
| 402 | 402 |
# a local branch might not exist |
| 403 | 403 |
git branch -D $GIT_BRANCH || true |