summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-02-01 15:28:00 +0100
committerHans Hagen <pragma@wxs.nl>2011-02-01 15:28:00 +0100
commitdb041f9c17c781e6fb4badbe31ff855f66f20a4f (patch)
tree6b3d4ab8ed0cce3f44786958b358c780558d36ec /scripts
parentff391d3816591b47893a12b8ccc0eb90f4b70333 (diff)
downloadcontext-db041f9c17c781e6fb4badbe31ff855f66f20a4f.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
-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