aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage2
1 files changed, 1 insertions, 1 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