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

The PM fails to recognize existing plugin's directory in the prefix if it contains as slash #34

Open
SebastianAdams opened this issue Jun 12, 2024 · 0 comments

Comments

@SebastianAdams
Copy link
Collaborator

The PluginsManagerLauncher program attempts to modify the config.bbj file to include the pluginsHome folder in the PREFIX.

However, the comparison on line 221 checks to see if directory$ = pluginsHome$ is always failing because the directory$ variable includes a trailing slash which is not present in the pluginsHome$ variable.

Since most prefix entries typically do include a trailing slash, the program incorrectly reports that the prefix needs to be modified to include the pluginsHome$ folder.

[3]/u/basis/bbj/plugins/PluginManagerLauncher.bbj>/221,223
                if directory$ = pluginsHome$ then
                    methodret Boolean.TRUE
                endif
[3]/u/basis/bbj/plugins/PluginManagerLauncher.bbj>?directory$
/u/basis/bbj/plugins/
[3]/u/basis/bbj/plugins/PluginManagerLauncher.bbj>print pluginsHome$
/u/basis/bbj/plugins
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

No branches or pull requests

1 participant