Avoid writing to file in emsdk_env.csh / emsdk_env.sh (#544)
This is an alternative fix for https://github.com/emscripten-core/emscripten/issues/9090 which recently came up again after #539. Tested with bash, tcsh and fish.
This commit is contained in:
3
emsdk_env.fish
Executable file → Normal file
3
emsdk_env.fish
Executable file → Normal file
@@ -6,8 +6,7 @@
|
||||
set -l script (status -f)
|
||||
set -l dir (dirname $script)
|
||||
|
||||
$dir/emsdk construct_env
|
||||
. $dir/emsdk_set_env.sh
|
||||
eval ($dir/emsdk construct_env)
|
||||
|
||||
set -e -l script
|
||||
set -e -l dir
|
||||
|
||||
Reference in New Issue
Block a user