From 1d806ac1fbafb867f6252e184e1be05c0829ab71 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Thu, 27 May 2010 11:50:19 +0800 Subject: [VAR] Do not poplocalvars prematurely on regular utilities The recent cmdenviron removal broke regular utilities by calling poplocalvars too early. This patch fixes that by postponing the poplocalvars for regular utilities until they have completed. In order to ensure that local still works, it is now a special built-in. Signed-off-by: Herbert Xu --- src/builtins.def.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/builtins.def.in') diff --git a/src/builtins.def.in b/src/builtins.def.in index 266d0ec..4441fe4 100644 --- a/src/builtins.def.in +++ b/src/builtins.def.in @@ -71,7 +71,7 @@ falsecmd -u false getoptscmd -u getopts hashcmd hash jobscmd -u jobs -localcmd -a local +localcmd -as local printfcmd printf pwdcmd pwd readcmd -u read -- cgit 1.4.1