]> git.donarmstrong.com Git - debian/debian-policy.git/commit
local must support multiple variables and assignment
authorRuss Allbery <rra@debian.org>
Sat, 5 Jul 2008 20:28:06 +0000 (13:28 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 5 Jul 2008 20:28:06 +0000 (13:28 -0700)
commitc40db0098b36e609ca389897c089239116ae0d89
tree27a8b73efaf435e2fb4c2637814ebd640201e353
parente8f31f5bc3a9f852d5c67a7b9c02bf99581ebf48
local must support multiple variables and assignment

All Bourne-type shells in Debian support localizing multiple variables
in one command, and all except posh support assignment.  Supporting
multiple variables and assignment brings the behavior of local in line
with export and readonly.  Permit /bin/sh scripts to assume that local
can take multiple variables and assignment.

Closes: Bug#473019
policy.sgml