diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-07-26 08:58:08 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-07-26 08:58:08 +0000 |
commit | ab3c63ff9b9d0b0dbbf1e69a50ef366cbfe64c94 (patch) | |
tree | 8e4b205042aa75fc59d1519ed005ddc801728f19 /Src | |
parent | 303a089a8e3402d3d38e8d0b2b424c2ee93e06e7 (diff) | |
download | zsh-ab3c63ff9b9d0b0dbbf1e69a50ef366cbfe64c94.tar.gz zsh-ab3c63ff9b9d0b0dbbf1e69a50ef366cbfe64c94.tar.xz zsh-ab3c63ff9b9d0b0dbbf1e69a50ef366cbfe64c94.zip |
23702: fix installing executable scripts
23703: getenv() should be zgetenv()
Diffstat (limited to 'Src')
-rw-r--r-- | Src/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c index e885c79b6..980d3b1c9 100644 --- a/Src/init.c +++ b/Src/init.c @@ -832,7 +832,7 @@ setupvals(void) if (emulation == EMULATE_ZSH) ptr = home; else - ptr = getenv("HOME"); + ptr = zgetenv("HOME"); if (ptr && ispwd(ptr)) pwd = ztrdup(ptr); else if ((ptr = zgetenv("PWD")) && (strlen(ptr) < PATH_MAX) && |