View | Details | Raw Unified | Return to bug 9478
Collapse All | Expand All

(-)_rpm.orig (-1 / +1 lines)
Lines 270-276 Link Here
270
    target)
270
    target)
271
      if [[ ${+_rpm_targets} -eq 0 ]]; then
271
      if [[ ${+_rpm_targets} -eq 0 ]]; then
272
	typeset -gaU _rpm_targets
272
	typeset -gaU _rpm_targets
273
	_rpm_targets=( ${${(M)${(f)"$(_call_programs targets rpm --showrc)"}:#compatible archs*}##*: } )
273
	_rpm_targets=( ${=${(M)${(f)"$(_call_program targets rpm --showrc)"}:#compatible build archs*}##*: } )
274
      fi
274
      fi
275
      _wanted targets expl 'target platform' compadd -a - _rpm_targets && ret=0
275
      _wanted targets expl 'target platform' compadd -a - _rpm_targets && ret=0
276
      ;;
276
      ;;

Return to bug 9478