From: Gary V. Vaughan Date: Sun, 27 Jan 2013 13:13:27 +0000 (+0700) Subject: syntax-check: fix a quoted_test_operand violation. X-Git-Tag: v2.4.2.418~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea6773ca6f3b01a35fe7be9313099b57e96113c1;p=thirdparty%2Flibtool.git 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 --- diff --git a/bootstrap b/bootstrap index 44bc32812..90f9ee796 100755 --- a/bootstrap +++ b/bootstrap @@ -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 diff --git a/gl/build-aux/bootstrap.in b/gl/build-aux/bootstrap.in index d9c7c2720..9a8f358d6 100755 --- a/gl/build-aux/bootstrap.in +++ b/gl/build-aux/bootstrap.in @@ -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