aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-03-28 16:04:37 +0000
committerrsc <devnull@localhost>2007-03-28 16:04:37 +0000
commitfbc629a995a01ba357cdacc355a7f3eba41777fb (patch)
tree917bed0d6294c0962c5979095145c9e05e314686 /src/cmd/rc
parent0b4084dafc3578d5ff5e438a9c76c0d3627fac97 (diff)
downloadplan9port-fbc629a995a01ba357cdacc355a7f3eba41777fb.tar.gz
plan9port-fbc629a995a01ba357cdacc355a7f3eba41777fb.tar.bz2
plan9port-fbc629a995a01ba357cdacc355a7f3eba41777fb.zip
keep path and PATH in sync
Diffstat (limited to 'src/cmd/rc')
-rw-r--r--src/cmd/rc/exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/rc/exec.c b/src/cmd/rc/exec.c
index 64cf116d..c54c0d89 100644
--- a/src/cmd/rc/exec.c
+++ b/src/cmd/rc/exec.c
@@ -604,6 +604,8 @@ Xassign(void)
freewords(v->val);
v->val = runq->argv->words;
v->changed = 1;
+ if(v->changefn)
+ v->changefn(v);
runq->argv->words = 0;
poplist();
}