Skip to content
  • Ivy Foster's avatar
    Make get_pkg_arch treat arch as an array · b543c055
    Ivy Foster authored and Allan McRae's avatar Allan McRae committed
    
    
    We use the get_pkg_arch function with the package name parameter in two places:
    1) checking if the package is already built
    2) installing build packages
    
    Currently this failed when a package override for "arch" was an array, despite
    all our documentation stating that it is indeed an array.  This change makes
    these two places fail if there is package override for arch that is not an
    array - i.e. of the form arch='i686'.
    
    Signed-off-by: default avatarIvy Foster <joyfulgirl@archlinux.us>
    Signed-off-by: default avatarAllan McRae <allan@archlinux.org>
    b543c055