summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKevin Rocard <kevinx.rocard@intel.com>2013-09-25 16:40:10 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:04:09 +0100
commit1f997b5492e8cb6ae80cf1805fb6e966784d0a9d (patch)
tree6c0c2d21ee8164c2087b3270f25d4004178627c7 /tools
parent885f97b9b09f23d7a08bbae8d31a96cb6eb51fbd (diff)
downloadexternal_parameter-framework-1f997b5492e8cb6ae80cf1805fb6e966784d0a9d.zip
external_parameter-framework-1f997b5492e8cb6ae80cf1805fb6e966784d0a9d.tar.gz
external_parameter-framework-1f997b5492e8cb6ae80cf1805fb6e966784d0a9d.tar.bz2
[Workaround] Force execution right
BZ: 122982 The build system does not preserve execution right in external prebuild Add the execution rights witch chmod on executables. Change-Id: Ieac44050e80df0e0f83e1a6b947edc432ef00260 Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com> Reviewed-on: http://android.intel.com:8080/134359 Reviewed-by: Gonzalve, Sebastien <sebastien.gonzalve@intel.com> Tested-by: Barthes, FabienX <fabienx.barthes@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/xmlGenerator/hostDomainGenerator.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/xmlGenerator/hostDomainGenerator.sh b/tools/xmlGenerator/hostDomainGenerator.sh
index 00bde35..f401d4e 100755
--- a/tools/xmlGenerator/hostDomainGenerator.sh
+++ b/tools/xmlGenerator/hostDomainGenerator.sh
@@ -69,6 +69,13 @@ PFWSocket=5000
tmpFile=$(mktemp)
testPlatformPID=0
+# [Workaround]
+# The build system does not preserve execution right in external prebuild
+for file in "$testPlatform" "$remoteProcess" "$hostConfig" "$PFWScriptGenerator"
+do
+ chmod +x "${HostRoot}/bin/${file}"
+done
+
# Set environment paths
export LD_LIBRARY_PATH="$HostRoot/lib:${LD_LIBRARY_PATH:-}"