Fix lttng-gen-tp: Template file must end in .tp
[lttng-ust.git] / tools / lttng-gen-tp
index adaa278cb2919dc158d9e69c2be8d97d032e5838..79da6b74bbe0b5c123150a04759d56f3164f3bbb 100755 (executable)
@@ -263,6 +263,9 @@ def main(argv=None):
 
     # process arguments
     for arg in args:
+        if arg[-3:] != ".tp":
+                print arg + " does not end in .tp. Skipping."
+                continue
 
         tpl = None
         try:
This page took 0.023832 seconds and 4 git commands to generate.