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 default install of bin files to be soft links to lib files #777

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

mflatt
Copy link
Contributor

@mflatt mflatt commented Dec 7, 2023

Unless configured with --installabsolute, install "scheme", "petite", and "scheme-script" as soft links to executables in the library directory that contains boot files. That way, multiple versions can be installed easily by referencing executables inthe library directory.

Configuring with --installabsolute, which already restored the old boot search-path default, also restores the old installation behavior.

Unless configured with `--installabsolute`, install "scheme",
"petite", and "scheme-script" as soft links to executables in the
library directory that contains boot files. That way, multiple
versions can be installed easily by referencing executables inthe
library directory.

Configuring with `--installabsolute` restores the old installation
behavior.
@burgerrg
Copy link
Contributor

burgerrg commented Dec 7, 2023

Do you think it would be better to use the fixed names scheme, petite, and scheme-script in the Lib directory, and use the specified names for the symbolic links? I'm thinking about the code I'll write to find the executables for a particular version in the lib tree.

@mflatt
Copy link
Contributor Author

mflatt commented Dec 7, 2023

I don't think it works to use different names for the "lib" files and "bin" links, because whichever name you use to start the process will be the name used to find the corresponding boot file(s).

My guess is that your script to find executables will need to make some assumptions about the configuration, anyway. Or maybe there's a place we could record a configuration so that the script can find things?

@burgerrg
Copy link
Contributor

burgerrg commented Dec 8, 2023

You're right, I didn't think about the boot file naming. It's fine to use the same name. The systems I use don't change the default names.

Copy link
Contributor

@burgerrg burgerrg left a comment

Choose a reason for hiding this comment

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

Thank you for this helpful update!

@mflatt mflatt merged commit 9b274bb into cisco:main Dec 8, 2023
13 checks passed
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