cookutils rev 1101
modules/pack: Explain forced package arch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 30 01:41:14 2018 +0200 (2018-11-30) |
parents | 33dbe879cc21 |
children | 8e94062e3045 |
files | modules/pack |
line diff
1.1 --- a/modules/pack Fri Nov 30 01:19:41 2018 +0200 1.2 +++ b/modules/pack Fri Nov 30 01:41:14 2018 +0200 1.3 @@ -400,11 +400,12 @@ 1.4 # Input: $1 = $fs; output string: i486 | x86_64 | any 1.5 1.6 determine_pkg_arch() { 1.7 - action 'Determining package architecture...' >&2 1.8 - 1.9 if [ "${COOKOPTS/force-arch/}" != "$COOKOPTS" ]; then 1.10 + action 'Forced package architecture to' >&2 1.11 + echo " $ARCH" >&2 1.12 arch="$ARCH" 1.13 else 1.14 + action 'Determining package architecture...' >&2 1.15 archs="$( 1.16 IFS=$'\n' 1.17 {