diff options
-rwxr-xr-x | pbuilder-buildpackage | 2 | ||||
-rw-r--r-- | pdebuild | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index c39f21d..f8cb5ae 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -173,7 +173,7 @@ if [ -d "${BUILDRESULT}" ]; then done if [ -n "${ADDITIONAL_BUILDRESULTS}" ]; then echo "Saving additional results ${ADDITIONAL_BUILDRESULTS[*]}" - for FILE in ${ADDITIONAL_BUILDRESULTS[*]}; do + for FILE in "${ADDITIONAL_BUILDRESULTS[@]}"; do cp -a "${BUILDPLACE}/tmp/buildd/"*"/${FILE}" "${BUILDRESULT}" || true done fi @@ -65,7 +65,7 @@ if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then conditional_cp_a ../${CHANGES} "${BUILDRESULT}" if [ -n "${ADDITIONAL_BUILDRESULTS}" ]; then echo "Saving additional results ${ADDITIONAL_BUILDRESULTS[*]}" - for FILE in ${ADDITIONAL_BUILDRESULTS[*]}; do + for FILE in "${ADDITIONAL_BUILDRESULTS[@]}"; do conditional_cp_a "${FILE}" "${BUILDRESULT}" || true done fi |