mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: had double quotes instead of single quotes in git hooks
This commit is contained in:
@ -250,7 +250,7 @@ checkLineLengthNonComments()
|
||||
# parse line numbers from grep output:
|
||||
# <lineNr>: contents
|
||||
lines=$(git grep -hn -e '^.\{81,\}' \
|
||||
--and --not -e "^ *//" \
|
||||
--and --not -e '^ *//' \
|
||||
$scope"$f" |
|
||||
sed -e 's@:.*@@' |
|
||||
tr '\n' ' '
|
||||
@ -283,7 +283,7 @@ checkLineLengthNonDirective()
|
||||
# parse line numbers from grep output:
|
||||
# <lineNr>: contents
|
||||
lines=$(git grep -hn -e '^.\{81,\}' \
|
||||
--and --not -e "^ *#" \
|
||||
--and --not -e '^ *#' \
|
||||
$scope"$f" |
|
||||
sed -e 's@:.*@@' |
|
||||
tr '\n' ' '
|
||||
|
||||
@ -213,7 +213,7 @@ checkLineLengthNonComments()
|
||||
# parse line numbers from grep output:
|
||||
# <lineNr>: contents
|
||||
lines=$(git grep -hn -e '^.\{81,\}' \
|
||||
--and --not -e "^ *//" \
|
||||
--and --not -e '^ *//' \
|
||||
$scope"$f" |
|
||||
sed -e 's@:.*@@' |
|
||||
tr '\n' ' '
|
||||
@ -246,7 +246,7 @@ checkLineLengthNonDirective()
|
||||
# parse line numbers from grep output:
|
||||
# <lineNr>: contents
|
||||
lines=$(git grep -hn -e '^.\{81,\}' \
|
||||
--and --not -e "^ *#" \
|
||||
--and --not -e '^ *#' \
|
||||
$scope"$f" |
|
||||
sed -e 's@:.*@@' |
|
||||
tr '\n' ' '
|
||||
|
||||
Reference in New Issue
Block a user