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

Ensure path case normalized #130

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

davidlatwe
Copy link
Collaborator

Problem

Since Windows's filesystem is case-insensitive, c:/users/david/packages and C:/Users/david/packages both point to same location, but using direct string compare to find out whether these two path is the same or relatived won't work.

And that makes Allzpark fail to identify which package is local (dev) and which is localized, when registered Rez package path and package localize path is not using same letter case.

Fix

Introduce os.path.normcase solved the problem.

@davidlatwe davidlatwe merged commit 69b9493 into mottosso:master Nov 18, 2020
@davidlatwe davidlatwe deleted the fix/path-normcase branch November 18, 2020 10:54
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.

1 participant