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:
parent
c5694162d2
commit
56af2d62fe
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue