From eb498abc47e8f01c77d27506fa430ac1fdbf6f44 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Tue, 7 Oct 2014 13:51:03 +0300 Subject: Improvements to setup scripts - use the already fetched .repo/repo as a workaround for repo tool's mandatory -u argument - rename environment-setup.sh script - Add notice about correctly sourcing the environment-setup.sh script Change-Id: I4ac3cf26ca30ae1c14474cf9fb15e65ebc0be3ac Reviewed-by: Eirik Aavitsland --- b2qt-init-build-env | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'b2qt-init-build-env') diff --git a/b2qt-init-build-env b/b2qt-init-build-env index 2deb8a4..0fa07ba 100755 --- a/b2qt-init-build-env +++ b/b2qt-init-build-env @@ -120,7 +120,7 @@ mirror() { mkdir -p .repo/manifests cp ${DIR}/scripts/manifest.xml .repo/manifests/ MANIFEST="manifest.xml" - ${REPO} init -u https://gerrit.googlesource.com/git-repo -m ${MANIFEST} -g all --mirror + ${REPO} init -u .repo/repo -m ${MANIFEST} -g all --mirror ${REPO} sync } @@ -139,14 +139,14 @@ init() { else MANIFEST="manifest.xml" fi - ${REPO} init -u https://gerrit.googlesource.com/git-repo -m ${MANIFEST} -g "${GROUPS}" ${REFERENCE} + ${REPO} init -u .repo/repo -m ${MANIFEST} -g "${GROUPS}" ${REFERENCE} ${REPO} sync if [ ! -e "sources/meta-b2qt" ]; then ln -s ${DIR} sources/meta-b2qt fi - cp ${DIR}/scripts/setup_environment.sh . + cp ${DIR}/scripts/setup-environment.sh . } -- cgit v1.2.3-54-g00ecf