summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgen-interface-templates.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index d31b53ed..5e17fa0c 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -64,9 +64,10 @@ sub gen_template {
my $in = "$inpath/$name";
my $out = "$outpath/$name";
+ # recurse into subdirectory
if ( -d $in ) {
my $subif = $ifname;
- $subif =~ s#@\)#../@)#g;
+ $subif =~ s#@\)#../@)#g if ($name ne 'node.tag');
( -d $out )
or mkdir($out)