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:
701da03
)
修复mkota.sh ota_all 和 res_only切换时环境不清空的问题
author
SnickerSun
<snickersun@163.com>
Sat, 6 Jul 2024 12:16:55 +0000
(20:16 +0800)
committer
SnickerSun
<snickersun@163.com>
Sat, 6 Jul 2024 12:16:55 +0000
(20:16 +0800)
mkota.sh
patch
|
blob
|
history
diff --git
a/mkota.sh
b/mkota.sh
index
e82d392
..
f1068ca
100755
(executable)
--- a/
mkota.sh
+++ b/
mkota.sh
@@
-21,12
+21,11
@@
echo ""
exit 0
fi
+rm $OTA_ALL_FLAG_PATH $RES_ONLY_FLAG_PATH -f
if [ "$3" == "ota_all" ]; then
touch $OTA_ALL_FLAG_PATH
elif [ "$3" == "res_only" ]; then
touch $RES_ONLY_FLAG_PATH
-else
-rm $OTA_ALL_FLAG_PATH $RES_ONLY_FLAG_PATH -f
fi