website-build: check.sh: fix missing double quote.

Without that fix, using shellcheck on this file results in this
warning:
    In website-build/check.sh line 58:
    	if [ ${nr_files} -eq 1 ] ; then
                 ^---------^ SC2086 (info):
		 Double quote to prevent globbing and word splitting.

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 c5694162d2
commit 56af2d62fe
Signed by: neox
GPG Key ID: 2974E1D5F25DFCC8
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ test_savannah_cvs_constraints()
nr_files=$(tar tf "${tarball}" | grep -v '/' | wc -l) nr_files=$(tar tf "${tarball}" | grep -v '/' | wc -l)
if [ ${nr_files} -eq 1 ] ; then if [ "${nr_files}" = "1" ] ; then
echo "[ OK ] ${name}" echo "[ OK ] ${name}"
else else
echo "[ !! ] ${name} failed" echo "[ !! ] ${name} failed"