Skip to content

Commit

Permalink
PMM-13487 Adjust echos
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Dec 16, 2024
1 parent be3b1cd commit fb2045b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/local/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -359,19 +359,21 @@ initialize() {
local NPROCS=$(getconf _NPROCESSORS_ONLN 2>/dev/null)

if [ -d "$SUBMODULES" ]; then
echo
echo "Info: the source code has already been cloned to '$SUBMODULES', exiting..."
return
fi

echo
git clone --branch "$CLONE_BRANCH" [email protected]:/Percona-Lab/pmm-submodules.git "$SUBMODULES"
cd "$SUBMODULES" > /dev/null
git submodule update --init --jobs ${NPROCS:-2}
git submodule status

echo
echo "Info: the source code has been cloned to '$SUBMODULES'."
echo

echo
echo "Pulling the docker image $RPMBUILD_DOCKER_IMAGE ..."
docker pull --platform="$PLATFORM" "$RPMBUILD_DOCKER_IMAGE"

Expand Down Expand Up @@ -403,7 +405,6 @@ check_preprequisites() {
fi

echo "Pre-requisites check passed."
echo
}

cleanup() {
Expand Down

0 comments on commit fb2045b

Please sign in to comment.