diff options
-rwxr-xr-x | tools/xmlGenerator/PFWScriptGenerator.py | 4 | ||||
-rwxr-xr-x | tools/xmlGenerator/hostDomainGenerator.sh | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/tools/xmlGenerator/PFWScriptGenerator.py b/tools/xmlGenerator/PFWScriptGenerator.py index ba3accf..17640d0 100755 --- a/tools/xmlGenerator/PFWScriptGenerator.py +++ b/tools/xmlGenerator/PFWScriptGenerator.py @@ -400,8 +400,8 @@ class Path (ElementWithInheritance) : return context.getPrefix() + \ self.PFWCommandParameter + " " + \ - self.getName() + " " + \ - self.option.getOption("value") + "\n" + self.getName() + " '" + \ + self.option.getOption("value") + "'\n" def Inheritance (self, context) : """check for path name inheritance""" diff --git a/tools/xmlGenerator/hostDomainGenerator.sh b/tools/xmlGenerator/hostDomainGenerator.sh index eeaf7a8..b67261b 100755 --- a/tools/xmlGenerator/hostDomainGenerator.sh +++ b/tools/xmlGenerator/hostDomainGenerator.sh @@ -252,8 +252,12 @@ PFWSendCommand="$remoteProcess $PFWHost $PFWSocket" $PFWSendCommand setTuningMode on -echo "Send the xml domain tunning file: $xmlDomainFilePath" -$PFWSendCommand setDomainsWithSettingsXML "$(cat $xmlDomainFilePath)" +# Send the xml domain tunning file +if test -s "$xmlDomainFilePath" +then + echo "Send the xml domain tunning file: $xmlDomainFilePath" + $PFWSendCommand setDomainsWithSettingsXML "$(cat $xmlDomainFilePath)" +fi # Send the extended domain description routing files converted to pfw commands m4 "$@" | |