okl4: support run script name containing "core"

Issue #2207
This commit is contained in:
Alexander Boettcher 2017-12-12 20:54:29 +01:00 committed by Christian Helmuth
parent 9f140ab843
commit 30fd10933a

View File

@ -127,7 +127,7 @@ proc run_boot_dir {binaries} {
puts $fh {<!DOCTYPE image SYSTEM "weaver-1.1.dtd">} puts $fh {<!DOCTYPE image SYSTEM "weaver-1.1.dtd">}
puts $fh {<image>} puts $fh {<image>}
regsub okl4_kernel $weaver_xml_template "[run_dir]/genode/okl4" weaver_xml_template regsub okl4_kernel $weaver_xml_template "[run_dir]/genode/okl4" weaver_xml_template
regsub core $weaver_xml_template "[run_dir].image" weaver_xml_template regsub \"core\" $weaver_xml_template "\"[run_dir].image\"" weaver_xml_template
puts $fh $weaver_xml_template puts $fh $weaver_xml_template
puts $fh {</image>} puts $fh {</image>}
close $fh close $fh