Skip to content
Snippets Groups Projects
Commit 9c2e652b authored by dam1n19's avatar dam1n19
Browse files

Fixing nanosoc tests

parent 7f06a139
No related branches found
No related tags found
No related merge requests found
Subproject commit 83a969ece065c95c2d1040df64a3f1677867e631
Subproject commit 7460715838bc5ec7f7c3c38bda18f4bfecd3f5f6
......@@ -64,7 +64,7 @@ if [ ! -f $SOCLABS_PROJECT_DIR/.socinit ]; then
# Source environment variables for all submodules
cd $SOCLABS_DESIGN_ROOT
git submodule update --remote --recursive
git submodule foreach --recursive git checkout main
git submodule foreach --recursive git checkout main # TODO: Bug on this line - need to checkout to correct branch
# Read proj-branch file to find out which branch each subrepo needs to be on
git config --file .gitmodules --get-regexp path | awk '{ print $2 }' | while read line; do cd $SOCLABS_PROJECT_DIR/$line && git checkout `grep $line $SOCLABS_PROJECT_DIR/proj-branch | awk '{ print $2 }'` && git pull; done
git restore $SOCLABS_DESIGN_ROOT/.gitmodules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment