summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/variable.c b/variable.c
index 4c38316..7e26646 100644
--- a/variable.c
+++ b/variable.c
@@ -1430,7 +1430,7 @@ print_file_variables (struct file *file)
void
sync_Path_environment (void)
{
- char *path = allocated_variable_expand ("$(Path)");
+ char *path = allocated_variable_expand ("$(PATH)");
static char *environ_path = NULL;
if (!path)
@@ -1447,7 +1447,7 @@ sync_Path_environment (void)
* Create something WINDOWS32 world can grok
*/
convert_Path_to_windows32 (path, ';');
- environ_path = concat ("Path", "=", path);
+ environ_path = concat ("PATH", "=", path);
putenv (environ_path);
free (path);
}