aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-23 18:11:40 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-23 18:11:40 -0700
commit41ea37201c7b0c2aaec8631a09c7754b36a83d4c (patch)
treed6b83a485a8bd07ea77526d80dff3c79367922f5 /emcc
parentd2ebb6200b9ad0fe4f1376e192382383352f7799 (diff)
support relative paths in -s KEY=@path
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index acb59143..ce73febb 100755
--- a/emcc
+++ b/emcc
@@ -994,7 +994,7 @@ try:
for change in settings_changes:
key, value = change.split('=')
if value[0] == '@':
- value = '"' + value + '"'
+ value = '"@' + os.path.abspath(value[1:]) + '"'
exec('shared.Settings.' + key + ' = ' + value)
# Apply effects from settings