ash: eval: Add assignment built-in support again
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 19 Feb 2020 14:15:13 +0000 (15:15 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 20 Feb 2020 08:36:51 +0000 (09:36 +0100)
commit7eb8eecbbc752d04381f35d196bbdf1e3b17e2d1
tree52c34b1ccd069bc6155ca213388877fb442a97ce
parentc91950f31532febe34e00ab20d3e5f462d9daa52
ash: eval: Add assignment built-in support again

Upstream commit:

    Date: Sat, 19 May 2018 02:39:52 +0800
    eval: Add assignment built-in support again

    This patch adds assignment built-in support that used to exist
    in dash prior to 0.3.8-15.  This is because it will soon be part
    of POSIX, and the semantics are now much better defined.

    Recognition is done at execution time, so even "command -- export"
    or "var=export; command $var" should work.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c