jilles d42a26ab20 sh: Update associated state when restoring locals while leaving a function.
Some variables like PATH call a function when modified. Make sure to call
this also when leaving a function where such a variable was made local.

Make sure to restore local variables before shellparam, so getopts state is
not clobbered.
2016-01-10 16:31:28 +00:00
..
2015-02-15 21:47:43 +00:00
2016-01-03 21:30:22 +00:00
2016-01-07 23:13:20 +00:00
2015-03-01 22:32:23 +00:00
2014-05-09 13:27:30 +00:00
2015-06-13 19:20:56 +00:00
2016-01-03 21:30:22 +00:00
2016-01-07 23:13:20 +00:00
2016-01-07 23:13:20 +00:00
2014-10-05 21:51:36 +00:00
2015-08-29 19:41:47 +00:00