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:
Denis 'GNUtoo' Carikli 2023-11-07 20:03:17 +01:00 committed by Adrien 'neox' Bourmault
parent 4b122e8989
commit 399360485d
Signed by: neox
GPG Key ID: 2974E1D5F25DFCC8
1 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ while [ "$i" -le $# ] ; do
exit ${EX_USAGE} exit ${EX_USAGE}
fi fi
lbwww_path="$(eval echo \$$(expr $i + 1))" lbwww_path="$(eval echo \$$(expr $i + 1))"
i="$(expr $i + 1)" i="$(expr "$i" + 1)"
;; ;;
--with-untitled-path) --with-untitled-path)
if [ "$i" -ge $# ] ; then if [ "$i" -ge $# ] ; then
@ -103,7 +103,7 @@ while [ "$i" -le $# ] ; do
exit ${EX_USAGE} exit ${EX_USAGE}
fi fi
untitled_path="$(eval echo \$$(expr $i + 1))" untitled_path="$(eval echo \$$(expr $i + 1))"
i="$(expr $i + 1)" i="$(expr "$i" + 1)"
;; ;;
*) *)
help help
@ -111,7 +111,7 @@ while [ "$i" -le $# ] ; do
;; ;;
esac esac
i="$(expr $i + 1)" i="$(expr "$i" + 1)"
done done
set -e set -e