[[RDKB]Support eagle mp3, kite mp1, eagle mp4, kite mp2 in RDKB]
[Description]
Add meta-filogic-logan folder check.
[Release-log]
Change-Id: Ie969a8e575b7b616c21599a323bcc6e509aff62a
diff --git a/setup-environment b/setup-environment
index 629e64c..b5b33ac 100755
--- a/setup-environment
+++ b/setup-environment
@@ -55,12 +55,12 @@
EOF
fi
-if [[ ! -d ../meta-filogic-logan/recipes-wifi/hostapd/files/patches ]]
+if [[ -d ../meta-filogic-logan ]] && [[ ! -d ../meta-filogic-logan/recipes-wifi/hostapd/files/patches ]]
then
sh ../meta-cmf-filogic/mtk_scripts/sync_hostapd_patch.sh hostapd
fi
-if [[ ! -d ../meta-filogic-logan/recipes-wifi/wpa-supplicant/files/patches ]]
+if [[ -d ../meta-filogic-logan ]] && [[ ! -d ../meta-filogic-logan/recipes-wifi/wpa-supplicant/files/patches ]]
then
sh ../meta-cmf-filogic/mtk_scripts/sync_hostapd_patch.sh wpa_supplicant
fi