mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
Update setup.sh
This commit is contained in:
parent
32631e6625
commit
5e0c7042f7
15
setup.sh
15
setup.sh
|
|
@ -9,26 +9,17 @@ mkdir -p ${ROOT_PATH}
|
|||
rm -r -f ${INSPECTION_PATH}
|
||||
mkdir -p ${INSPECTION_PATH}
|
||||
|
||||
cd ${BASE_PATH}
|
||||
|
||||
# Create git repositories
|
||||
c=0;
|
||||
for i in "${GITHUB_URL[@]}"
|
||||
do
|
||||
if [ "$c" -eq 0 ]
|
||||
then
|
||||
cd ${BASE_PATH}
|
||||
fi
|
||||
|
||||
if [ "$c" -eq 1 ]
|
||||
then
|
||||
cd ${ROOT_PATH}
|
||||
fi
|
||||
|
||||
git clone -b ${GIT_BRANCH} $i
|
||||
c=$((c+1))
|
||||
done
|
||||
|
||||
cd ${ROOT_PATH}
|
||||
git submodule update --init --recursive
|
||||
git submodule foreach checkout develop
|
||||
|
||||
# Creating directories for inspection
|
||||
mkdir -p ${INSPECTION_PATH}/logs
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user