syntax-check: fix a quoted_test_operand violation.

* gl/build-aux/bootstrap.in (func_insert_if_absent): Make sure
test operands are quoted correctly.
* bootstrap: Regenerate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
This commit is contained in:
Gary V. Vaughan 2013-01-27 20:13:27 +07:00
parent 51496e032d
commit ea6773ca6f
2 changed files with 2 additions and 2 deletions

View File

@ -4359,7 +4359,7 @@ func_insert_if_absent ()
linesold=`func_gitignore_entries "$file" |wc -l`
linesnew=`$bs_echo "$str" \
|func_gitignore_entries - "$file" |sort -u |wc -l`
test $linesold -eq $linesnew \
test "$linesold" -eq "$linesnew" \
|| sed "1i\\$nl$str$nl" "$file" \
|| func_permissions_error "$file"
done

View File

@ -2169,7 +2169,7 @@ func_insert_if_absent ()
linesold=`func_gitignore_entries "$file" |wc -l`
linesnew=`$bs_echo "$str" \
|func_gitignore_entries - "$file" |sort -u |wc -l`
test $linesold -eq $linesnew \
test "$linesold" -eq "$linesnew" \
|| sed "1i\\$nl$str$nl" "$file" \
|| func_permissions_error "$file"
done