252 |
{ |
{ |
253 |
local abi |
local abi |
254 |
local abis_to_run="${MULTILIB_ABIS}" |
local abis_to_run="${MULTILIB_ABIS}" |
255 |
|
local dest="$2" |
256 |
|
|
257 |
# respect MULTILIB_ONLY_ABI variable |
# respect MULTILIB_ONLY_ABI variable |
258 |
[[ ! -z ${MULTILIB_ONLY_ABI} ]] && abis_to_run="${MULTILIB_ONLY_ABI}" |
[[ ! -z ${MULTILIB_ONLY_ABI} ]] && abis_to_run="${MULTILIB_ONLY_ABI}" |
260 |
for abi in ${abis_to_run} |
for abi in ${abis_to_run} |
261 |
do |
do |
262 |
echo -e "${COLBLUE}*** ${COLGREEN}unpacking for ABI -${abi}${COLDEFAULT}" |
echo -e "${COLBLUE}*** ${COLGREEN}unpacking for ABI -${abi}${COLDEFAULT}" |
263 |
oldmunpack ${SRCFILE} || die |
oldmunpack ${SRCFILE} ${dest} || die |
264 |
mv ${SRCDIR} ${SRCDIR}-${abi} || die |
mv ${SRCDIR} ${SRCDIR}-${abi} || die |
265 |
done |
done |
266 |
} |
} |