Fix for future bug
This commit is contained in:
parent
34422eed79
commit
3d7c819321
1 changed files with 5 additions and 1 deletions
|
@ -54,6 +54,9 @@ function arch_executors() {
|
|||
;;
|
||||
esac
|
||||
done
|
||||
if [[ "${ANSWER}" == *"${ARCH_TARGET}"* ]]; then
|
||||
export "ANSWER=x86_64 ${ANSWER}"
|
||||
fi
|
||||
echo "ARCH_EXECUTORS=${ANSWER}" >> "${TMPDIR}/androot.env"
|
||||
}
|
||||
|
||||
|
@ -163,9 +166,10 @@ function location() {
|
|||
# create directory
|
||||
indicate_exec "Creating location directory"
|
||||
if ! mkdir -p "${ANSWER}/rootfs"; then
|
||||
indicate_fail;
|
||||
indicate_fail
|
||||
exit 1
|
||||
fi
|
||||
indicate_ok
|
||||
fi
|
||||
echo "LOCATION=${ANSWER}" >> "${TMPDIR}/androot.env"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue