From 7cd5a8404671276379bdc6a2331ac0da96f9b72b Mon Sep 17 00:00:00 2001 From: Christian Babeux Date: Thu, 13 Dec 2012 20:36:32 -0500 Subject: [PATCH] Fix lttng-gen-tp: Template file must end in .tp Fixes #297 Signed-off-by: Christian Babeux Signed-off-by: Mathieu Desnoyers --- tools/lttng-gen-tp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp index adaa278c..79da6b74 100755 --- a/tools/lttng-gen-tp +++ b/tools/lttng-gen-tp @@ -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: -- 2.34.1