File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ echo "OCFSUBPATH=\`jq --raw-output '.implementation_paths[0]' \${CURPWD}/\${PROJ
114
114
echo " OCFPATH=\"\$ {OCFBASEPATH}\$ {OCFSUBPATH}\" " >> build.sh
115
115
echo " PLATFORM=\` jq --raw-output '.platforms[0]' \$ {CURPWD}/\$ {PROJNAME}-config.json\` " >> build.sh
116
116
echo " " >> build.sh
117
- echo " if [ \"\$ PLATFORM\" == \" esp32\" ];" >> build.sh
117
+ echo " if [ \"\$ PLATFORM\" == \" esp32\" ]; then " >> build.sh
118
118
echo " MY_COMMAND=\" cp \$ {CURPWD}/src/\$ {PROJNAME}.c \$ {OCFPATH}/iotivity-lite/port/\$ {PLATFORM}/main/esp32-example.c\" " >> build.sh
119
119
echo " eval \$ {MY_COMMAND}" >> build.sh
120
120
echo " MY_COMMAND=\" cp \$ {CURPWD}/src/\$ {PROJNAME}-main.c \$ {OCFPATH}/iotivity-lite/port/\$ {PLATFORM}/main/main.c\" " >> build.sh
You can’t perform that action at this time.
0 commit comments