]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virt-wireshark: Properly substract wireshark prefix
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 27 Jul 2016 14:44:25 +0000 (16:44 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 27 Jul 2016 15:01:18 +0000 (17:01 +0200)
commit5c2bc001a26158298ec7294d41f552d64a0971d7
tree2780e764cbad60e05f69962846d2c76976e18750
parent438c204763f7d8eed79554075f5633545a4a5df1
virt-wireshark: Properly substract wireshark prefix

So, when building wireshark plugin, we get the plugindir variable
from the wireshark.pc as well as prefix. Then we replace the
prefix in the plugindir with our own prefix where libvirt is
building to:

  plugindir="${prefix}${plugindir#ws_prefix}"

However, as you can see, there's '$' missing in front of the
ws_prefix variable. This results in the mangled plugindir, for
instance like this:

  plugindir='/usr/usr/lib64/wireshark/plugins'

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
m4/virt-wireshark.m4