aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder-buildpackage2
-rw-r--r--pdebuild2
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
diff --git a/pdebuild b/pdebuild
index a98c253..ed8deb4 100644
--- a/pdebuild
+++ b/pdebuild
@@ -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