diff options
author | Junichi Uekawa <dancer@netfort.gr.jp> | 2012-03-13 17:12:32 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@netfort.gr.jp> | 2012-03-13 17:12:32 +0900 |
commit | 2ab7c50ef2a39961c0a037b8ae07bb7df2593693 (patch) | |
tree | 07fcf6245b7427e0044d65e2dd752666c5239ed3 | |
parent | 21fd0ff9341f4ec3c51421158a3ea796474e4ded (diff) | |
download | pbuilder-2ab7c50ef2a39961c0a037b8ae07bb7df2593693.tar pbuilder-2ab7c50ef2a39961c0a037b8ae07bb7df2593693.tar.gz |
fix space handling in additional-buildresults.
-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 |