mirror of
https://github.com/dynup/kpatch
synced 2025-03-31 07:36:49 +00:00
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:
parent
6ae49e36be
commit
4779b9c0d8
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user