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}
|
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
|
||||||
|
|
Loading…
Reference in New Issue