summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtxrun.lua2
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua2
-rwxr-xr-xscripts/context/stubs/unix/mtxrun2
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index 0251ed5ed..6b34f0f92 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -10702,7 +10702,7 @@ end
function resolvers.setenv(key,value)
if instance then
instance.environment[key] = value
- ossetenv(key,value)
+ ossetenv(key,resolvers.resolve(value)) -- brr, we need info about the var being a path
end
end
diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua
index 0251ed5ed..6b34f0f92 100644
--- a/scripts/context/stubs/mswin/mtxrun.lua
+++ b/scripts/context/stubs/mswin/mtxrun.lua
@@ -10702,7 +10702,7 @@ end
function resolvers.setenv(key,value)
if instance then
instance.environment[key] = value
- ossetenv(key,value)
+ ossetenv(key,resolvers.resolve(value)) -- brr, we need info about the var being a path
end
end
diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun
index 0251ed5ed..6b34f0f92 100755
--- a/scripts/context/stubs/unix/mtxrun
+++ b/scripts/context/stubs/unix/mtxrun
@@ -10702,7 +10702,7 @@ end
function resolvers.setenv(key,value)
if instance then
instance.environment[key] = value
- ossetenv(key,value)
+ ossetenv(key,resolvers.resolve(value)) -- brr, we need info about the var being a path
end
end