makepkg: fix pkgdesc restoration with split packaging
A pkgdesc with spaces in it would get restored to an array and thus only the first word would be restored (FS#15210). Convert that array back to a string. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
621aa26e26
commit
e72cce352a
|
@ -1281,6 +1281,11 @@ restore_package_variables() {
|
|||
unset ${var}
|
||||
fi
|
||||
done
|
||||
|
||||
# pkgdesc gets restored as an array - convert back to a string
|
||||
local pkgdesc_backup="${pkgdesc[@]}"
|
||||
unset pkgdesc
|
||||
pkgdesc=${pkgdesc_backup}
|
||||
}
|
||||
|
||||
# getopt like parser
|
||||
|
|
Loading…
Reference in New Issue