xbps-src: more shell quoting love.

This commit is contained in:
Juan RP 2011-10-29 18:49:03 +02:00
parent cf37b7146a
commit 6fb8566235

View File

@ -36,7 +36,7 @@ install_pkg_from_repos()
cmd="${fakeroot_cmd} ${fakeroot_cmd_args} ${XBPS_BIN_CMD} -Ay install" cmd="${fakeroot_cmd} ${fakeroot_cmd_args} ${XBPS_BIN_CMD} -Ay install"
tmplogf=$(mktemp) tmplogf=$(mktemp)
${cmd} ${1} >${tmplogf} 2>&1 ${cmd} "${1}" >${tmplogf} 2>&1
rval=$? rval=$?
if [ $rval -ne 0 -a $rval -ne 6 ]; then if [ $rval -ne 0 -a $rval -ne 6 ]; then
# xbps-bin can return: # xbps-bin can return:
@ -228,7 +228,7 @@ install_dependencies_pkg()
if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$bootstrap" ]; then if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$bootstrap" ]; then
msg_normal "$pkgver: installing dependencies from repositories ...\n" msg_normal "$pkgver: installing dependencies from repositories ...\n"
for i in ${build_depends}; do for i in ${build_depends}; do
install_pkg_from_repos \"${i}\" install_pkg_from_repos "${i}"
done done
else else
# Install direct and indirect build dependencies from source. # Install direct and indirect build dependencies from source.