mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 15:02:01 +08:00
7549064c51
Use the actual xxd version instead of the vim one for packaging.
Add matching CI test.
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit 3365ba873b)
11 lines
145 B
Bash
11 lines
145 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
vim|vim-full|vim-fuller)
|
|
vim --version | grep -F "$2"
|
|
;;
|
|
xxd)
|
|
xxd --version 2>&1 | grep -F "${2//./-}"
|
|
;;
|
|
esac
|