aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ethtool/ethtool-app/ethapp.c
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2017-07-28 16:14:20 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2017-08-03 17:18:32 +0100
commit7b2fcb3f0e78e8abe77336f5687ce876e49efeb2 (patch)
treeb1acd6e75745282f31e3af862f7005efda729367 /examples/ethtool/ethtool-app/ethapp.c
parent0f23eda7c3f900cfeb7f1435c6410607dfbb8364 (diff)
Fix upstream version parsing
The sed regex is greedy, so 17.08-rc2-0vyatta1 returns 17.08-rc2. Match everything until the separator instead. Also use dpkg-parsechangelog --show-field Version to simplify it further. It's available since dpkg-dev 17.0 which is in both Ubuntu 14.04 and Debian 8. Change-Id: Ie3ef44b5573d6ee586e8cf291f307c0539976ead Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'examples/ethtool/ethtool-app/ethapp.c')
0 files changed, 0 insertions, 0 deletions