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

[sfntedit] use portable rename #1138

Merged
merged 3 commits into from
May 22, 2020
Merged

Conversation

josh-hadley
Copy link
Collaborator

  • update sfntedit to use a more portable rename (that can work across volumes)
  • update makeotf.py to use absolute paths

Use of `rename()` can cause problems on some platforms when the source and destination are on different volumes. `p_rename()` uses the same function signature as `rename()` but essentially does copy-then-delete (of source) which doesn't have the limitation of `rename()`
- remove makeRelativePath method from makeotf.py and force all paths to absolute
- remove related test code
Copy link
Contributor

@cjchapman cjchapman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@josh-hadley josh-hadley merged commit b164c95 into develop May 22, 2020
@josh-hadley josh-hadley deleted the jh-update-sfntedit-rename branch May 22, 2020 16:28
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