diff --git a/scripts/build_mpos.sh b/scripts/build_mpos.sh index f31183f5..35f41349 100755 --- a/scripts/build_mpos.sh +++ b/scripts/build_mpos.sh @@ -47,7 +47,7 @@ fi echo "Check need to add lvgl_micropython manifest to micropython-camera-API's manifest..." camani="$codebasedir"/micropython-camera-API/src/manifest.py rellvglmani=lvgl_micropython/build/manifest.py -if ! grep "$rellvglmani" "$idfile"; then +if ! grep "$rellvglmani" "$camani"; then abslvglmani="$codebasedir"/"$rellvglmani" echo "Adding include(\"$abslvglmani\") to $camani" echo >> "$camani" # needs newline because file doesn't have newline at the end