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

change template-pathname->output-name to reliably match pathnames on ccl + linux #23

Closed

Conversation

cmstrickland
Copy link

fro me, running make-project using ccl64 1.11.5 on linux, the template files do not get renamed to match the project name

the problem seems to be that(pathname-match-p "/some/expanded/template.name" "template.name") is not true in this system

I always get confused about pathnames, so I have added a small function that drops this down to a string compare between file name and file type, which is probably a grotty way to do it, but fixes my problem

running make-project on ccl64 1.11.5 on linux, the template files do
not get renamed to match the project name

the problem seems to be that
(pathname-match-p "/some/expanded/template.name" "template.name") is
not true.

I always get confused about pathname conversion, so I added a function
that drops this down to a string compare between file name and file type
@equwal
Copy link
Contributor

equwal commented Jan 6, 2020

This was resolved by 17b2853 using pathnames properly by comparing the name and type parts of the pathname only.

Same with the issue #20.

@xach xach closed this Jan 6, 2020
@cmstrickland cmstrickland deleted the cms/pathname-match-fix-ccl branch January 14, 2020 13:44
@cmstrickland
Copy link
Author

thanks!

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.

3 participants