Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cleanup .pyc file command in rake test #2424

Merged
merged 1 commit into from
Feb 3, 2014

Conversation

wedaly
Copy link
Contributor

@wedaly wedaly commented Feb 3, 2014

When Python files were pre-compiled at the top level of the edx-platform repo, rake test would fail with this error:

find . -type f -name *.pyc -delete
find: paths must precede expression: setup.pyc

The issue was that the shell was expanding *.pyc instead of using it as a wildcard match in the find. This PR fixes the issue by quoting *.pyc to prevent shell expansion.

@jzoldak

@jzoldak
Copy link
Contributor

jzoldak commented Feb 3, 2014

👍

@dglance you probably want to make this change also in #2146

wedaly pushed a commit that referenced this pull request Feb 3, 2014
Fix cleanup .pyc file command in rake test
@wedaly wedaly merged commit 830ad94 into master Feb 3, 2014
@wedaly wedaly deleted the will/fix-rake-test-cleanup branch February 3, 2014 16:31
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Feb 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants