util: extract the logic calculating environment variables
The method will be reused in chgserver. Move it out so it can be reused.
Loading
Please register or sign in to comment
The method will be reused in chgserver. Move it out so it can be reused.