dart: fix error about unknown arch
Still fails due to not supporting python3. %ci:no-build
This commit is contained in:
parent
f6792915d1
commit
e112c4ed18
@ -30,13 +30,13 @@ termux_step_get_source() {
|
|||||||
|
|
||||||
termux_step_post_get_source() {
|
termux_step_post_get_source() {
|
||||||
if [ $TERMUX_ARCH = "arm" ]; then
|
if [ $TERMUX_ARCH = "arm" ]; then
|
||||||
export DEST_CPU="ARM"
|
export DEST_CPU="arm"
|
||||||
elif [ $TERMUX_ARCH = "i686" ]; then
|
elif [ $TERMUX_ARCH = "i686" ]; then
|
||||||
export DEST_CPU="IA32"
|
export DEST_CPU="ia32"
|
||||||
elif [ $TERMUX_ARCH = "aarch64" ]; then
|
elif [ $TERMUX_ARCH = "aarch64" ]; then
|
||||||
export DEST_CPU="ARM64"
|
export DEST_CPU="arm64"
|
||||||
elif [ $TERMUX_ARCH = "x86_64" ]; then
|
elif [ $TERMUX_ARCH = "x86_64" ]; then
|
||||||
export DEST_CPU="X64"
|
export DEST_CPU="x64"
|
||||||
else
|
else
|
||||||
termux_error_exit "Unsupported arch '$TERMUX_ARCH'"
|
termux_error_exit "Unsupported arch '$TERMUX_ARCH'"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user