website-build: build.sh: i="$(expr "$i" + 1)": fix double quote.
Without that fix, we end up with 'Fix SC2086 (info): Double quote to prevent globbing and word splitting.' shellcheck warnings. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
parent
4b122e8989
commit
399360485d
|
@ -95,7 +95,7 @@ while [ "$i" -le $# ] ; do
|
|||
exit ${EX_USAGE}
|
||||
fi
|
||||
lbwww_path="$(eval echo \$$(expr $i + 1))"
|
||||
i="$(expr $i + 1)"
|
||||
i="$(expr "$i" + 1)"
|
||||
;;
|
||||
--with-untitled-path)
|
||||
if [ "$i" -ge $# ] ; then
|
||||
|
@ -103,7 +103,7 @@ while [ "$i" -le $# ] ; do
|
|||
exit ${EX_USAGE}
|
||||
fi
|
||||
untitled_path="$(eval echo \$$(expr $i + 1))"
|
||||
i="$(expr $i + 1)"
|
||||
i="$(expr "$i" + 1)"
|
||||
;;
|
||||
*)
|
||||
help
|
||||
|
@ -111,7 +111,7 @@ while [ "$i" -le $# ] ; do
|
|||
;;
|
||||
esac
|
||||
|
||||
i="$(expr $i + 1)"
|
||||
i="$(expr "$i" + 1)"
|
||||
done
|
||||
|
||||
set -e
|
||||
|
|
Loading…
Reference in New Issue