From: SnickerSun Date: Sat, 2 Nov 2024 04:04:25 +0000 (+0800) Subject: 优化mkota脚本,给用到的脚本增加权限 X-Git-Tag: fd230_release_V1.3.102~137^2~5 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=3f8d7a5c39c7e0ba1227f14af4666fad3a70ecb3;p=mirrors%2FFD230.git 优化mkota脚本,给用到的脚本增加权限 --- diff --git a/mkota.sh b/mkota.sh index 729813b83..1d9e377d4 100755 --- a/mkota.sh +++ b/mkota.sh @@ -17,6 +17,7 @@ mkdir -p $PWD/code/sdk/output 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 "" @@ -93,7 +94,7 @@ echo $ADDITIONAL_RES_DIR/delfiles not exist, you can put filelist to this file , 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! diff --git a/mkota_single_user.sh b/mkota_single_user.sh index 1888f9f89..d923d2677 100644 --- a/mkota_single_user.sh +++ b/mkota_single_user.sh @@ -18,6 +18,7 @@ mkdir -p $PWD/code/sdk/output 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 "" @@ -97,7 +98,7 @@ echo $ADDITIONAL_RES_DIR/delfiles not exist, you can put filelist to this file , 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!