]> git.proxmox.com Git - mirror_frr.git/commit - vtysh/extract.pl.in
vtysh: fix false lib path matching in extract.pl.in
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Sat, 23 Feb 2013 18:38:37 +0000 (19:38 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sat, 23 Feb 2013 18:38:37 +0000 (19:38 +0100)
commit844ee10416c42debbfbc4d470eb2fe328e060977
treea0e49697ba2079ea271b5003c36455e242827051
parent0e4303d3173ecc264b3ec39a863174670bbe2900
vtysh: fix false lib path matching in extract.pl.in

The if ($file =~ /lib/) path matching logic is supposed to
match Quagga's lib directory only but will match all path
having lib in it such as /var/lib/jenkins/quagga/...

Fix by matching both lib and file: lib/keychain.c etc.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
vtysh/extract.pl.in