diff options
author | Allan McRae <allan@archlinux.org> | 2015-03-26 14:43:13 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-03-26 14:43:13 +1000 |
commit | e7e0c137623253c6f1bad0c89e36586713eee526 (patch) | |
tree | 881935da526c3175b2b24191f2bc61a2029615a6 /scripts | |
parent | f34e48a9886150147da4864230b6804d6f6ccc58 (diff) | |
parent | b543c055b9607161e6bd47b9d3709243057c8771 (diff) |
Merge branch 'maint'
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 168f3348..acee796e 100644 --- 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" @@ -2106,8 +2106,8 @@ create_srcpackage() { ln -s "${pkg_file}" "${pkg_file/$SRCPKGDEST/$startdir}" ret=$? if [[ -f $pkg_file.sig ]]; then - rm -f "${pkg_file/$PKGDEST/$startdir}.sig" - ln -s "$pkg_file.sig" "${pkg_file/$PKGDEST/$startdir}.sig" + rm -f "${pkg_file/$SRCPKGDEST/$startdir}.sig" + ln -s "$pkg_file.sig" "${pkg_file/$SRCPKGDEST/$startdir}.sig" fi fi |