fix: inverted condition in prebuild

This commit is contained in:
Akash Yadav
2024-12-29 00:01:55 +05:30
parent 8ca36130e6
commit 72ba7d56e5

View File

@@ -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