summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/cd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/sh/cd.c b/bin/sh/cd.c
index 3ec8dee..bc2f718 100644
--- a/bin/sh/cd.c
+++ b/bin/sh/cd.c
@@ -238,8 +238,8 @@ updatepwd(dir)
curdir = NULL;
if (getpwd() == NULL)
error("getcwd() failed: %s", strerror(errno));
- setvar("PWD", curdir, VEXPORT | VTEXTFIXED);
- setvar("OLDPWD", prevdir, VEXPORT | VTEXTFIXED);
+ setvar("PWD", curdir, VEXPORT);
+ setvar("OLDPWD", prevdir, VEXPORT);
INTON;
return;
}
@@ -270,8 +270,8 @@ updatepwd(dir)
ckfree(prevdir);
prevdir = curdir;
curdir = savestr(stackblock());
- setvar("PWD", curdir, VEXPORT | VTEXTFIXED);
- setvar("OLDPWD", prevdir, VEXPORT | VTEXTFIXED);
+ setvar("PWD", curdir, VEXPORT);
+ setvar("OLDPWD", prevdir, VEXPORT);
INTON;
}
OpenPOWER on IntegriCloud