aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tatt/scriptwriter.py')
-rw-r--r--tatt/scriptwriter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tatt/scriptwriter.py b/tatt/scriptwriter.py
index fa26608..b4bee69 100644
--- a/tatt/scriptwriter.py
+++ b/tatt/scriptwriter.py
@@ -84,6 +84,9 @@ def writeusecombiscript(job, config):
loop = useloop.replace("@@LOOP_BODY@@", useCombiTestString(job, p, config, port))
loop = loop.replace("@@CPV@@", p.packageString())
outfile.write(loop)
+ if os.path.exists(config['template-dir'] + "use-footer"):
+ footer = scriptTemplate(job, config, "use-footer")
+ outfile.write(footer)
# Note: fchmod needs the filedescriptor which is an internal
# integer retrieved by fileno().
os.fchmod(outfile.fileno(), 0o744) # rwxr--r--