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

Bootstrap script problem with special names #105

Open
hatamiarash7 opened this issue Jan 26, 2025 · 0 comments
Open

Bootstrap script problem with special names #105

hatamiarash7 opened this issue Jan 26, 2025 · 0 comments

Comments

@hatamiarash7
Copy link

The bootstrap script has a problem with names that contain the word quack.

Suppose we want to have an extension called testquack, after using the script we will see something like this:

#ifdef EXT_VERSION_TESTTESTQUACK
    return EXT_VERSION_TESTTESTQUACK;
#else
    return "";
#endif

This happens because everything happens correctly on the first attempt to replace the words. But on the second run, the replace_everywhere function causes the replacement to be done again because the quack phrase is still there.

EXT_VERSION_QUACK -> EXT_VERSION_TESTQUACK -> EXT_VERSION_TESTTESTQUACK
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