Skip to content

Commit 1f72258

Browse files
author
Clarke Stevens
committed
Update install.sh
1 parent 5ae8dde commit 1f72258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ echo "OCFSUBPATH=\`jq --raw-output '.implementation_paths[0]' \${CURPWD}/\${PROJ
114114
echo "OCFPATH=\"\${OCFBASEPATH}\${OCFSUBPATH}\"" >> build.sh
115115
echo "PLATFORM=\`jq --raw-output '.platforms[0]' \${CURPWD}/\${PROJNAME}-config.json\`" >> build.sh
116116
echo "" >> build.sh
117-
echo "if [ \"\$PLATFORM\" == \"esp32\"];" >> build.sh
117+
echo "if [ \"\$PLATFORM\" == \"esp32\"]; then" >> build.sh
118118
echo " MY_COMMAND=\"cp \${CURPWD}/src/\${PROJNAME}.c \${OCFPATH}/iotivity-lite/port/\${PLATFORM}/main/esp32-example.c\"" >> build.sh
119119
echo " eval \${MY_COMMAND}" >> build.sh
120120
echo " MY_COMMAND=\"cp \${CURPWD}/src/\${PROJNAME}-main.c \${OCFPATH}/iotivity-lite/port/\${PLATFORM}/main/main.c\"" >> build.sh

0 commit comments

Comments
 (0)