keep path and PATH in sync

This commit is contained in:
rsc 2007-03-28 16:04:37 +00:00
parent 0b4084dafc
commit fbc629a995

View file

@ -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();
} }