Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove extraneous arguments to construct_env (emscripten-core#328)
The code for construct_env expects the output file to be at `argv[2]`, but it is actually invoked in emsdk_env.{sh,fish} with $@ there instead. Usually this is not a problem because the emdsk_env.{sh,fish} is `sourced` directly from the user's shell and $@ is empty, but this can break in scripted environments. The $@ was added two years ago in 3b6c6b8 for no discernible reason, but it was entirely ignored in the code until last month when emscripten-core#307 added a meaningful argument to construct_env but incorrectly kept the $@.
- Loading branch information