Skip to content

Commit 6b8855c

Browse files
committed
Fix the reclone to actually remove *.pyc
1 parent 08c999d commit 6b8855c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ function git_clone {
394394
# remove the existing ignored files (like pyc) as they cause breakage
395395
# (due to the py files having older timestamps than our pyc, so python
396396
# thinks the pyc files are correct using them)
397-
sudo git clean -f -d
397+
find $GIT_DEST -name '*.pyc' -delete
398398
git checkout -f origin/$GIT_BRANCH
399399
# a local branch might not exist
400400
git branch -D $GIT_BRANCH || true

0 commit comments

Comments
 (0)