We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71078b4 commit 372b822Copy full SHA for 372b822
10/system_root/usr/bin/heliumos-homebrew-install
@@ -26,9 +26,10 @@ except Exception as e:
26
shell(f'bash {script_install_path}')
27
28
with open(script_env_temp_path, 'w') as f:
29
- f.write('eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" \n')
30
- f.write('export PATH=$PATH:/home/linuxbrew/.linuxbrew/bin/ \n')
31
- f.write('export C_INCLUDE_PATH=$CC_INCLUDE_PATH:/var/home/linuxbrew/.linuxbrew/include/ \n')
+ f.write('eval "$(brew shellenv)" \n')
+ f.write('export PATH=$PATH:$(brew --prefix)/bin/ \n')
+ f.write('export C_INCLUDE_PATH=$CC_INCLUDE_PATH:$(brew --prefix)/include/ \n')
32
+ f.write('export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(brew --prefix)/lib/ \n')
33
34
shell(f'sudo mv {script_env_temp_path} {script_env_path}')
35
0 commit comments