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

Delete check for program licenses directory #3263

Merged
merged 1 commit into from
May 27, 2024

Conversation

d-torrance
Copy link
Member

This is another short followup to #3240. I forgot to delete a line that was left over from when copyright was a string, which is no longer the case.

Also, the next thing after the then at the end of the line was the definition of the path variable. So if the "program licenses" directory doesn't exist (e.g., in the Debian/Ubuntu package where we don't vendor any 3rd party programs or libraries), then we immediately got the following error:

/usr/share/Macaulay2/Core/startup.m2:583:16:(0): error: expected argument 1 to be a list or sequence

This was from a call to join, which expects lists and sequences, but argument 1 was path, which was still just a symbol.

It was left over from when "copyright" was a string, which is no
longer the case.

Also, the next thing after the "then" at the end of the line was the
definition of the "path" variable.  So if the "program licenses"
directory doesn't exist (e.g., in the Debian/Ubuntu package where we
don't vendor any 3rd party programs or libraries), then we immediately
got the following error:

/usr/share/Macaulay2/Core/startup.m2:583:16:(0): error: expected
argument 1 to be a list or sequence

This was from a call to "join", which expects lists and sequences, but
argument 1 was "path", which was still just a symbol.
@DanGrayson DanGrayson merged commit b15442a into Macaulay2:development May 27, 2024
6 checks passed
@d-torrance d-torrance deleted the version branch June 6, 2024 00:59
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