summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-02-01 17:00:11 +0200
committerMarius <mariausol@gmail.com>2011-02-01 17:00:11 +0200
commit3223b0a0688dcb13650d12294f6d88743117f9c1 (patch)
treecbcc2643b76238148ea8b866c39b1e68d86a900e /scripts
parent1e6ba021602441d20ced70966de1037d7ce186ee (diff)
downloadcontext-3223b0a0688dcb13650d12294f6d88743117f9c1.tar.gz
beta 2011.02.01 15:28
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtxrun.lua2
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua2
-rw-r--r--scripts/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 100644
--- 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