]> rtime.felk.cvut.cz Git - jailhouse.git/commit
tools: config-create: locate templates next to script or in given dir
authorHenning Schild <henning.schild@siemens.com>
Tue, 5 Aug 2014 12:08:50 +0000 (14:08 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 7 Aug 2014 11:30:55 +0000 (13:30 +0200)
commit12722d0de406d3508c5b02c9d612c51f9b5c8e88
tree7086d287600a7fde674b3650a36b383e4bec15dd
parent4864287b10a96550e85600df2ad33fae57803a79
tools: config-create: locate templates next to script or in given dir

When the script was called from outside the tools dir the templates
could not be found.
This patch assumes the templates are next to the script, one can also
specify a path.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
tools/jailhouse-config-create