Older versions of bash need the extra quotes. Otherwise, the entire version gets assigned to 'v,' after replacing spaces with periods. (e.g. v="4 9"; p="".) Signed-off-by: Jim Mattson <jmattson@xxxxxxxxxx> --- scripts/arch-run.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/arch-run.bash b/scripts/arch-run.bash index 28a9efa..1e41eb7 100644 --- a/scripts/arch-run.bash +++ b/scripts/arch-run.bash @@ -247,8 +247,8 @@ env_generate_errata () errata="ERRATA_$commit" test -v $errata && continue - IFS=. read -r v p rest <<<$minver - IFS=- read -r s x <<<$rest + IFS=. read -r v p rest <<<"$minver" + IFS=- read -r s x <<<"$rest" s=${s%%[!0-9]*} x=${x%%[!0-9]*} -- 2.14.1.342.g6490525c54-goog