hush: fix for readonly vars in "ro=A ro=B cmd" case

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2018-04-04 21:14:28 +02:00
parent 759ca8a4cb
commit 61407807ab
3 changed files with 21 additions and 13 deletions

View File

@@ -0,0 +1,4 @@
readonly v=1
# there was a bug causing second assignment to be not checked
v=2 v=3 echo $v
echo Ok:$v