From 730e2d28b764c7a10245b5ff68cbee38678d0afa Mon Sep 17 00:00:00 2001 From: Empec Date: Thu, 27 Oct 2022 08:20:23 +0100 Subject: [PATCH] tweaked the compile_branch.sh to allow for parallel lore repo instead of contained --- scripts/ai/compile_branch.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 scripts/ai/compile_branch.sh diff --git a/scripts/ai/compile_branch.sh b/scripts/ai/compile_branch.sh old mode 100644 new mode 100755 index af668ae..e112373 --- a/scripts/ai/compile_branch.sh +++ b/scripts/ai/compile_branch.sh @@ -7,11 +7,11 @@ echo "Checking if lore folder exists... you will need access to webaverse/lore f # if it doesn't, clone it # if it does, reset and pull it -if [ ! -d "lore" ]; then +if [ ! -d "../../../lore" ]; then git clone https://github.com/webaverse/lore cd lore else - cd lore + cd ../../../lore git reset --hard git pull fi @@ -25,8 +25,8 @@ branch=$1 # checkout branch git checkout $branch -cd .. +cd ../wiki/scripts/ai/ -node format-training-data-local.js ./lore/datasets +node format-training-data-local.js ../../../lore/datasets -echo "Done!" \ No newline at end of file +echo "Done!"