2010-10-14 16:42:52 +00:00
|
|
|
--- a/vtysh/extract.pl.in
|
|
|
|
+++ b/vtysh/extract.pl.in
|
2012-05-29 13:01:43 +00:00
|
|
|
@@ -63,7 +63,7 @@ $ignore{'"show history"'} = "ignore";
|
2010-10-14 16:42:52 +00:00
|
|
|
foreach (@ARGV) {
|
|
|
|
$file = $_;
|
|
|
|
|
2012-05-29 13:01:43 +00:00
|
|
|
- open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ @CPPFLAGS@ $file |");
|
|
|
|
+ open (FH, "@CPP@ -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ @CPPFLAGS@ $file |");
|
2010-10-14 16:42:52 +00:00
|
|
|
local $/; undef $/;
|
|
|
|
$line = <FH>;
|
|
|
|
close (FH);
|