From 6b8855cd4f7143e9d7e489bb57c008be9b84fc8c Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Mon, 14 Nov 2011 10:51:17 -0800 Subject: [PATCH] Fix the reclone to actually remove *.pyc --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 841cbb4..2b6980f 100755 --- a/stack.sh +++ b/stack.sh @@ -394,7 +394,7 @@ function git_clone { # remove the existing ignored files (like pyc) as they cause breakage # (due to the py files having older timestamps than our pyc, so python # thinks the pyc files are correct using them) - sudo git clean -f -d + find $GIT_DEST -name '*.pyc' -delete git checkout -f origin/$GIT_BRANCH # a local branch might not exist git branch -D $GIT_BRANCH || true