fi
chmod +x ./tools/* -R
+chmod +x ./code/sdk/build/* -R
if [ ! -d "$SOURCE_DIR" ] ; then
echo "$SOURCE_DIR not exist , skip create ota package"
echo ""
fi
cd $PWD/code/sdk/
-./build/config/target_config/brandy/build_brandy_update.py
+python ./build/config/target_config/brandy/build_brandy_update.py
if [ $? != 0 ];
then
echo create ota file failed!
fi
chmod +x ./tools/* -R
+chmod +x ./code/sdk/build/* -R
if [ ! -d "$SOURCE_DIR" ] ; then
echo "$SOURCE_DIR not exist , skip create ota package"
echo ""
fi
cd $PWD/code/sdk/
-./build/config/target_config/brandy/build_brandy_update.py
+python ./build/config/target_config/brandy/build_brandy_update.py
if [ $? != 0 ];
then
echo create ota file failed!