kpatch-build: make vim's syntax highlighting happy

For some reason, the backticks on this line confuse my editor's syntax
highlighter!  Make vim happy by using the other form of command
substition.

Also convert the function definition syntax to comply with the
kpatch-build coding guidelines ;-)
This commit is contained in:
Josh Poimboeuf 2017-03-03 10:32:31 -06:00
parent 6ae49e36be
commit 4779b9c0d8

View File

@ -113,8 +113,8 @@ check_pipe_status() {
}
# $1 >= $2
function version_gte {
[ "$1" = "`echo -e "$1\n$2" | sort -rV | head -n1`" ]
version_gte() {
[ "$1" = "$(echo -e "$1\n$2" | sort -rV | head -n1)" ]
}
find_dirs() {