keep path and PATH in sync
This commit is contained in:
parent
0b4084dafc
commit
fbc629a995
1 changed files with 2 additions and 0 deletions
|
|
@ -604,6 +604,8 @@ Xassign(void)
|
||||||
freewords(v->val);
|
freewords(v->val);
|
||||||
v->val = runq->argv->words;
|
v->val = runq->argv->words;
|
||||||
v->changed = 1;
|
v->changed = 1;
|
||||||
|
if(v->changefn)
|
||||||
|
v->changefn(v);
|
||||||
runq->argv->words = 0;
|
runq->argv->words = 0;
|
||||||
poplist();
|
poplist();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue