fix: inverted condition in prebuild

This commit is contained in:
Akash Yadav committed 2024-12-29 00:01:55 +05:30
1 parent 8ca36130e6
commit 72ba7d56e5
1 file changed
+4 -4
+4 -4
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