ctubbsii commented on issue #3697: URL: https://github.com/apache/accumulo/issues/3697#issuecomment-1681175806
As it turns out, you can jump through hoops to effectively export an array variable, but it's not pretty: ```bash BASH_ENV=<(echo "declare -a ACCUMULO_JAVA_PREFIX='(numactl --all)'") bin/accumulo ``` If you set the variable as an array in the environment, but then try to set it as a scalar in the script, then the scalar will only override the first item in the array. This can result in some confusing behavior. I added a sensible check with `declare -p` in my PR #3701 to fix this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
