mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
install: set default shell to /bin/bash
This commit is contained in:
1 parent
eff6f28c7f
commit
76be3ebbb1
1 file changed
+1
-1
+1
-1
@@ -214,7 +214,7 @@ apt-get -qq update && apt-get -q install -y mongodb-org`, { retry: true }],
|
||||
return 'retry';
|
||||
}
|
||||
setenv('PATH', `/root/.nvm/versions/node/v${ver}/bin:${__env.PATH}`);
|
||||
const shell = __env.SHELL.split('/');
|
||||
const shell = __env.SHELL ? __env.SHELL.split('/') : ['bash'];
|
||||
const rc = `/root/.${shell[shell.length - 1]}rc`;
|
||||
if (!fs.exist(rc)) fs.writefile(rc, source_nvm);
|
||||
else {
|
||||
|
||||
Reference in new issue
Block a user