-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
41 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/tools/config.py b/tools/config.py | ||
index aaff153a0..ce70df7e4 100644 | ||
--- a/tools/config.py | ||
+++ b/tools/config.py | ||
@@ -90,7 +90,7 @@ def normalize_config_settings(): | ||
# be removed in the future since such installations should probably be | ||
# setting a specific cache location. | ||
logger.debug('Using home-directory for emscripten cache due to read-only root') | ||
- CACHE = os.path.expanduser(os.path.join('~', '.emscripten_cache')) | ||
+ CACHE = os.path.expanduser(os.path.join(os.getcwd(), '.emscripten_cache')) | ||
if not PORTS: | ||
PORTS = os.path.join(CACHE, 'ports') | ||
|
||
@@ -255,7 +255,7 @@ def find_config_file(): | ||
# See: https://github.com/emscripten-core/emsdk/pull/367 | ||
emsdk_root = os.path.dirname(os.path.dirname(path_from_root())) | ||
emsdk_embedded_config = os.path.join(emsdk_root, '.emscripten') | ||
- user_home_config = os.path.expanduser('~/.emscripten') | ||
+ user_home_config = os.path.join(os.getcwd(), '.emscripten-home') | ||
|
||
if '--em-config' in sys.argv: | ||
i = sys.argv.index('--em-config') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version=0.26.1 | ||
version=0.26.2 | ||
ocaml-version=4.12 | ||
break-infix=fit-or-vertical | ||
doc-comments=before |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version=0.26.1 | ||
version=0.26.2 | ||
ocaml-version=4.12 | ||
break-infix=fit-or-vertical | ||
doc-comments=before |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters