summaryrefslogtreecommitdiff
path: root/build_tools
diff options
context:
space:
mode:
authorAlexander Traud <pabstraud@compuserve.com>2018-01-17 14:11:24 +0100
committerAlexander Traud <pabstraud@compuserve.com>2018-01-17 14:11:24 +0100
commit4cd3f5c162f2258ca310a4afa99612abeb07a02f (patch)
tree81e0a4efd62a675dc5a6808b9e55e4cce2358cf7 /build_tools
parent2f392bedb3987ee3c587bd8b046299320b84d5c5 (diff)
BuildSystem: Invoke install not in GNU but POSIX style.
ASTERISK-27594 Change-Id: Iaaa6a19d2fe031dffcba441d0502a7ea65c93cb3
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/download_externals4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_tools/download_externals b/build_tools/download_externals
index efeb6c53c..62b128aaa 100755
--- a/build_tools/download_externals
+++ b/build_tools/download_externals
@@ -214,7 +214,7 @@ trap "rm -rf ${cache_dir}/${module_dir} ; rm -rf ${tmpdir}" EXIT
echo "${full_name}: Installing."
if [[ $EUID == 0 ]] ; then
- install_params="--group=0 --owner=0"
+ install_params="-g 0 -o 0"
fi
names=$(${XMLSTARLET} sel -t -m "//file" -v "@name" -n ${cache_dir}/${module_dir}/manifest.xml)
@@ -229,7 +229,7 @@ for name in ${names} ; do
mode=0644
fi
- ${INSTALL} -Dp ${install_params} --mode=${mode} ${source_path} ${install_path}
+ ${INSTALL} -Dp ${install_params} -m ${mode} ${source_path} ${install_path}
done
${INSTALL} -Dp ${install_params} --mode=0644 ${cache_dir}/${module_dir}/manifest.xml ${DESTDIR}${ASTMODDIR}/${module_name}.manifest.xml