summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-04-08 12:51:20 +0000
committerPaul Smith <psmith@gnu.org>2005-04-08 12:51:20 +0000
commit3daf8df6ee835b9edcc068af33ae97910bb8d934 (patch)
treea90131bc43bd817abd1850df4ade8d58339d3334 /variable.c
parent4923580e3a5b3d9e7ff29ef1e5a5339cc7619a4b (diff)
downloadgunmake-3daf8df6ee835b9edcc068af33ae97910bb8d934.tar.gz
Fix some Savannah bugs.
Updates to docs (still need more work here) and NEWS file. New language.
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);
}