mirror of
https://github.com/ironfox-oss/IronFox.git
synced 2026-06-12 02:04:38 -04:00
fix: inverted condition in prebuild
This commit is contained in:
@@ -41,13 +41,13 @@ if [[ "$paths_source" != "true" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -d "$ANDROID_HOME" ]; then
|
||||
echo "\$ANDROID_HOME does exist."
|
||||
if [ ! -d "$ANDROID_HOME" ]; then
|
||||
echo "\$ANDROID_HOME does not exist."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -d "$ANDROID_NDK" ]; then
|
||||
echo "\$ANDROID_NDK does exist."
|
||||
if [ ! -d "$ANDROID_NDK" ]; then
|
||||
echo "\$ANDROID_NDK does not exist."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user