Skip to content

Fix cleanup .pyc file command in rake test - #2424

Merged
wedaly merged 1 commit into
masterfrom
will/fix-rake-test-cleanup
Feb 3, 2014
Merged

Fix cleanup .pyc file command in rake test#2424
wedaly merged 1 commit into
masterfrom
will/fix-rake-test-cleanup

Conversation

@wedaly

@wedaly wedaly commented Feb 3, 2014

Copy link
Copy Markdown
Contributor

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

jzoldak commented Feb 3, 2014

Copy link
Copy Markdown
Contributor

👍

@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