fix(exports): fix android paths

This commit is contained in:
2026-04-12 00:48:12 +03:00
parent adc8d91710
commit 2873b90bf9

View File

@@ -40,11 +40,6 @@ if [[ -d "/opt/homebrew" ]]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
export BREW_HOME="/usr/local"
if [[ -d "$HOME/Library/Android/sdk" ]]; then
export ANDROID_HOME="$HOME/Library/Android/sdk"
export ANDROID_SDK_ROOT="$BREW_HOME/bin"
fi
if [[ -d "$BREW_HOME/opt/flex" ]]; then
export LDFLAGS="-L$BREW_HOME/opt/flex/lib"
export CPPFLAGS="-I$BREW_HOME/opt/flex/include"
@@ -53,6 +48,12 @@ if [[ -d "/opt/homebrew" ]]; then
fi
fi
if [[ -d "$HOME/Library/Android/sdk" ]]; then
export ANDROID_HOME="$HOME/Library/Android/sdk"
export ANDROID_SDK_ROOT="$BREW_HOME/bin"
export PATH="$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$PATH"
fi
# yamllint
export YAMLLINT_CONFIG_FILE="$CFG/.yamllint.yml"