From 168c3107d6e487dfc0597ce45637d698ed9a29a8 Mon Sep 17 00:00:00 2001 From: David Wagner Date: Fri, 3 Oct 2014 10:48:05 +0200 Subject: hostDomainGenerator: Fix the stripping of the temporary directory name We didn't properly remove the name of the temporary directory in the generated files which caused two generation from identical sources result in different generated files. We know the full name of the temporary directory so we can simply completly remove it from the generated file. Issue: GMINL-1953 Change-Id: I1f360cea249328d30318a24643b524c87424475e Signed-off-by: David Wagner --- tools/xmlGenerator/hostDomainGenerator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/xmlGenerator/hostDomainGenerator.sh b/tools/xmlGenerator/hostDomainGenerator.sh index 4cfce4d..fe02048 100755 --- a/tools/xmlGenerator/hostDomainGenerator.sh +++ b/tools/xmlGenerator/hostDomainGenerator.sh @@ -313,5 +313,5 @@ m4 "$@" | $PFWSendCommand getDomainsWithSettingsXML | # Delete trailing carriage return and format absolute paths sed -r -e 's/\r$//' \ - -e 's/(xsi:noNamespaceSchemaLocation=")[^"]*tmp/\1/' >&4 + -e 's@(xsi:noNamespaceSchemaLocation=")'"$tmpDir"'/?@\1@' >&4 -- cgit v1.1