makepkg: quote variable that may contain spaces

Prevents failures when $PKGDEST contains spaces (FS#24002)

Patch-by: Sebastien Duthil
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Allan McRae 2011-05-02 10:33:22 +10:00 committed by Dan McGee
parent 9a127d8ed4
commit 8fd9037cfd

View file

@ -1076,7 +1076,7 @@ create_package() {
*tar.bz2) bzip2 -c -f ;;
*tar.xz) xz -c -z - ;;
*tar) cat ;;
esac > ${pkg_file} || ret=$?
esac > "${pkg_file}" || ret=$?
shopt -u nullglob
shopt -u -o pipefail