mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
Make "makepkg -g" ignore the current architecture.
Commit 663c74150a
(makepkg: merge arch dependent variables after PKGBUILD linting) broke
"makepkg -g" on a PKGBUILD which did not include the current architecture, by
moving the lint_pkgbuild call before GENINTEG was processed.
Fix that by setting IGNOREARCH for the "-g" option.
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
3cb1669e07
commit
c72ca3d539
@ -1803,7 +1803,8 @@ while true; do
|
||||
-e|--noextract) NOEXTRACT=1 ;;
|
||||
-f|--force) FORCE=1 ;;
|
||||
-F) INFAKEROOT=1 ;;
|
||||
-g|--geninteg) GENINTEG=1 ;;
|
||||
# generating integrity checks does not depend on architecture
|
||||
-g|--geninteg) GENINTEG=1 IGNOREARCH=1;;
|
||||
--holdver) HOLDVER=1 ;;
|
||||
-i|--install) INSTALL=1 ;;
|
||||
--key) shift; GPGKEY=$1 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user