projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a240866
)
更新mkota.sh,支持脱离git仓库使用
656/1
656/head
657/target/1
author
SnickerSun
<snickersun@163.com>
Tue, 6 Aug 2024 11:56:37 +0000
(19:56 +0800)
committer
SnickerSun
<snickersun@163.com>
Tue, 6 Aug 2024 11:56:37 +0000
(19:56 +0800)
mkota.sh
patch
|
blob
|
history
diff --git
a/mkota.sh
b/mkota.sh
index
2e030d7
..
60c6b3e
100755
(executable)
--- a/
mkota.sh
+++ b/
mkota.sh
@@
-11,6
+11,9
@@
ADDITIONAL_RES_DIR=$PWD/code/sdk/output/additional_fs
OTA_ALL_FLAG_PATH=$PWD/code/sdk/output/ota_all
RES_ONLY_FLAG_PATH=$PWD/code/sdk/output/res_only
OTA_DIFF_FLAG_PATH=$PWD/code/sdk/output/ota_diff
+if [ ! -d "$PWD/code/sdk/output" ] ; then
+mkdir -p $PWD/code/sdk/output
+fi
chmod +x ./tools/* -R
if [ ! -d "$SOURCE_DIR" ] ; then