[pacman-dev] [PATCH v3 1/2] Make get_pkg_arch treat arch as an array
joyfulgirl at archlinux.us
joyfulgirl at archlinux.us
Sat Mar 21 00:19:56 UTC 2015
From: Ivy Foster <joyfulgirl at archlinux.us>
Signed-off-by: Ivy Foster <joyfulgirl at archlinux.us>
---
v3: Separate change to get_pkg_arch into separate commit
scripts/makepkg.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
mode change 100644 => 100755 scripts/makepkg.sh.in
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
old mode 100644
new mode 100755
index 168f334..5b3bffd
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -879,7 +879,7 @@ get_pkg_arch() {
fi
else
local arch_override
- pkgbuild_get_attribute "$1" arch 0 arch_override
+ pkgbuild_get_attribute "$1" arch 1 arch_override
(( ${#arch_override[@]} == 0 )) && arch_override=("${arch[@]}")
if [[ $arch_override = "any" ]]; then
printf "%s\n" "any"
--
2.3.3
More information about the pacman-dev
mailing list