1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-04-08 23:00:31 +08:00
parent 550e287f07
commit 98043b3213

View File

@ -10,7 +10,7 @@ main() {
dev) shift # 开发环境
require miss.sh; ish_miss_prepare_package; prepare_system; [ -f ~/.gitconfig ] || ish_dev_git_prepare
if ! [ -e $ctx_name ]; then
git config --global "url.$ctx_dev/x/.insteadof" "${ctx_repos%/*}/"
git config --global "url.$ctx_dev_ip/x/.insteadof" "${ctx_repos%/*}/"
echo && ish_log_debug -g "clone $ctx_repos" && git clone $ctx_repos $ctx_name
fi; cd $ctx_name
source etc/miss.sh && $PWD/bin/ice.bin forever start "$@"