From 35b09a452c3c6f8e3a6aabd84df45ba91d653ba7 Mon Sep 17 00:00:00 2001 From: dam1n19 <dam1n19@soton.ac.uk> Date: Wed, 26 Apr 2023 17:06:13 +0100 Subject: [PATCH] soc1-167: removed soc-init script --- flow/soc-init | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100755 flow/soc-init diff --git a/flow/soc-init b/flow/soc-init deleted file mode 100755 index 3f3e045..0000000 --- a/flow/soc-init +++ /dev/null @@ -1,29 +0,0 @@ -#----------------------------------------------------------------------------- -# SoC Labs Workarea initialisation Script -# - sets submodule branches to main - can then be checked out to other branches from there. -# A joint work commissioned on behalf of SoC Labs, under Arm Academic Access license. -# -# Contributors -# -# David Mapstone (d.a.mapstone@soton.ac.uk) -# -# Copyright 2022, SoC Labs (www.soclabs.org) -#----------------------------------------------------------------------------- - -#!/usr/bin/env bash - -# Source environment variables for all submodules -cd $DESIGN_ROOT -for d in $PROJECT_DIR/* ; do - if [ -e "$d/.git" ]; then - echo $d - if [ -f "$d/set_env.sh" ]; then - # If .git file exists - submodule - # git config -f .gitmodules submodule.$d.branch main - git submodule set-branch --branch main $d - fi - fi -done -git submodule update --remote --recursive -git submodule foreach --recursive git checkout main -git restore $DESIGN_ROOT/.gitmodules \ No newline at end of file -- GitLab