diff options
author | David Williams | 2013-10-16 05:43:35 +0000 |
---|---|---|
committer | David Williams | 2013-10-16 05:43:35 +0000 |
commit | 2505cfcb2ba014671ad6054219d06e4c2fbfeb85 (patch) | |
tree | 9b4720d0b49f820bd10777c16e2715d7a95d9c5f /production/getEBuilderForDropDir.sh | |
parent | 48fdf938f0485b3da5f8ade52250ab68500167ad (diff) | |
download | eclipse.platform.releng.aggregator-2505cfcb2ba014671ad6054219d06e4c2fbfeb85.tar.gz eclipse.platform.releng.aggregator-2505cfcb2ba014671ad6054219d06e4c2fbfeb85.tar.xz eclipse.platform.releng.aggregator-2505cfcb2ba014671ad6054219d06e4c2fbfeb85.zip |
Bug 419303 - FORCE_LOCAL_REPO could use some cleanup
Diffstat (limited to 'production/getEBuilderForDropDir.sh')
-rwxr-xr-x | production/getEBuilderForDropDir.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/production/getEBuilderForDropDir.sh b/production/getEBuilderForDropDir.sh index 1b2308d28..11f77b8b0 100755 --- a/production/getEBuilderForDropDir.sh +++ b/production/getEBuilderForDropDir.sh @@ -31,8 +31,9 @@ RC=0 # don't clone, if already exists. if [[ ! -d ${BUILD_DIR}/${EBUILDER} ]] then - #TODO: make git repo location and access variable - git clone file:///gitroot/platform/${EBUILDER} ${BUILD_DIR}/${EBUILDER} + # Not sure 'REPO_AND_ACCESS' is defined in all possible scenerios, so we'll provide a default. + # It is in main scenerios, but not sure about things like "re-running unit tests at a later time". + git clone ${REPO_AND_ACCESS:-git://git.eclipse.org/gitroot}/platform/${EBUILDER} ${BUILD_DIR}/${EBUILDER} RC=$? if [[ $RC != 0 ]] then |