summary refs log tree commit diff stats
path: root/scripts/decodetree.py
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-07-25 10:56:51 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-07-25 10:56:51 +0100
commitf9540bb1b2d35d2b0f7e831208c5f44854896cd0 (patch)
tree18380a0ffc632cec4baca275e77c1c26d7ceb66c /scripts/decodetree.py
parentc6445544d4cea2628fbad3bad09f3d3a03c749d3 (diff)
downloadfocaccia-qemu-f9540bb1b2d35d2b0f7e831208c5f44854896cd0.tar.gz
focaccia-qemu-f9540bb1b2d35d2b0f7e831208c5f44854896cd0.zip
scripts/git-submodule.sh: Don't rely on non-POSIX 'read' behaviour
The POSIX definition of the 'read' utility requires that you
specify the variable name to set; omitting the name and
having it default to 'REPLY' is a bashism. If your system
sh is dash, then it will print an error message during build:

qemu/pc-bios/s390-ccw/../../scripts/git-submodule.sh: 106: read: arg count

Specify the variable name explicitly.

Fixes: fdb8fd8cb915647b ("git-submodule: allow partial update of .git-submodule-status")
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230720153038.1587196-1-peter.maydell@linaro.org
Diffstat (limited to 'scripts/decodetree.py')
0 files changed, 0 insertions, 0 deletions