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:
parent
9a127d8ed4
commit
8fd9037cfd
1 changed files with 1 additions and 1 deletions
|
@ -1076,7 +1076,7 @@ create_package() {
|
||||||
*tar.bz2) bzip2 -c -f ;;
|
*tar.bz2) bzip2 -c -f ;;
|
||||||
*tar.xz) xz -c -z - ;;
|
*tar.xz) xz -c -z - ;;
|
||||||
*tar) cat ;;
|
*tar) cat ;;
|
||||||
esac > ${pkg_file} || ret=$?
|
esac > "${pkg_file}" || ret=$?
|
||||||
|
|
||||||
shopt -u nullglob
|
shopt -u nullglob
|
||||||
shopt -u -o pipefail
|
shopt -u -o pipefail
|
||||||
|
|
Loading…
Add table
Reference in a new issue