mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
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:
parent
51496e032d
commit
ea6773ca6f
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user