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

config script fails to read previously set locales #16

Closed
ArmouredHeart opened this issue Sep 26, 2021 · 1 comment
Closed

config script fails to read previously set locales #16

ArmouredHeart opened this issue Sep 26, 2021 · 1 comment

Comments

@ArmouredHeart
Copy link

To replicate:

  1. run ./config
  2. set locales to en_CA.utf8 and C.utf8
  3. save and exit
  4. run ./config again

16326807673792307564281326085451

@oddlama
Copy link
Owner

oddlama commented Oct 27, 2021

Thanks for the report, the problem is now fixed.
I'm sorry for taking so long to respond, I had some very busy past months.

In case you are interested in the actual issue: bash array expansion like ${arr[*]} is dependent on $IFS to determine the delimiter that is inserted between elements. I had expected it to always be space delimited, but coincidentally the IFS had been modified and set to \n for some other parsing logic in the relevant function, which caused the problem.

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

2 participants