From: Todd C. Miller Date: Tue, 12 Apr 2011 15:54:03 +0000 (-0400) Subject: Fix ARCH setting in cross-compile Solaris packages. X-Git-Tag: SUDO_1_7_7~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f88c4b4934b6a7020b6295c9385bacd5d16cd762;p=sudo Fix ARCH setting in cross-compile Solaris packages. --HG-- branch : 1.7 --- diff --git a/pp b/pp index 469dfa2c2..a7267c919 100755 --- a/pp +++ b/pp @@ -3138,9 +3138,9 @@ if $pp_opt_debug; then echo "$prototype::"; cat $prototype fi >&2 - pkgmk -a $pp_solaris_arch -d $pp_wrkdir/pkg \ - -f $prototype || { error "pkgmk failed"; return; } - pkgtrans -s $pp_wrkdir/pkg \ + pkgmk -d $pp_wrkdir/pkg -f $prototype \ + || { error "pkgmk failed"; return; } + pkgtrans -s $pp_wrkdir/pkg \ $pp_wrkdir/`pp_backend_solaris_names` \ ${pp_solaris_name:-$name} \ || { error "pkgtrans failed"; return; }