fix
This commit is contained in:
32
build.sh
32
build.sh
@ -2,9 +2,29 @@
|
|||||||
|
|
||||||
d=${0:a:h}
|
d=${0:a:h}
|
||||||
cd $d/repos
|
cd $d/repos
|
||||||
git clone https://github.com/bluesky-social/atproto
|
|
||||||
git clone https://github.com/did-method-plc/did-method-plc
|
t="
|
||||||
git clone https://github.com/bluesky-social/feed-generator
|
https://github.com/bluesky-social/atproto
|
||||||
git clone https://github.com/bluesky-social/social-app
|
https://github.com/did-method-plc/did-method-plc
|
||||||
git clone https://github.com/bluesky-social/cookbook
|
https://github.com/bluesky-social/feed-generator
|
||||||
git clone https://github.com/itaru2622/bluesky-selfhost-env
|
https://github.com/bluesky-social/social-app
|
||||||
|
https://github.com/bluesky-social/cookbook
|
||||||
|
https://github.com/itaru2622/bluesky-selfhost-env
|
||||||
|
"
|
||||||
|
|
||||||
|
t=`echo $t|grep -v '^$'`
|
||||||
|
n=`echo $t|wc -l`
|
||||||
|
|
||||||
|
for ((i=1;i<=$n;i++))
|
||||||
|
do
|
||||||
|
tt=`echo $t|awk "NR==$i"`
|
||||||
|
dd=$d/repos/$tt:t
|
||||||
|
if [ -d $dd ];then
|
||||||
|
echo ok
|
||||||
|
cd $dd
|
||||||
|
git pull
|
||||||
|
cd $d/repos
|
||||||
|
else
|
||||||
|
git clone $tt
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
Submodule repos/atproto updated: 7f26b17652...8f2b80a0dc
Submodule repos/social-app updated: fd2e94f353...f6649e22a7
Reference in New Issue
Block a user