Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build-functions.sh')
-rwxr-xr-xscripts/build-functions.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/build-functions.sh b/scripts/build-functions.sh
index 8120870f..67841f8c 100755
--- a/scripts/build-functions.sh
+++ b/scripts/build-functions.sh
@@ -227,7 +227,14 @@ fn-build-dir ()
ROOT="$1"; shift
BRANCH="$1"; shift
BUILD_ID="$1"; shift
- echo $ROOT/$BRANCH/dirs/$BUILD_ID
+ STREAM="$1"; shift
+ eclipseStreamMajor=${STREAM:0:1}
+ dropDirSegment=siteDir/eclipse/downloads/dropscbibased
+ if [[ $eclipseStreamMajor > 3 ]]
+ then
+ dropDirSegment=siteDir/eclipse/downloads/drops4cbibased
+ fi
+ echo $ROOT/$BRANCH/$dropDirSegment/$BUILD_ID
}
# USAGE: fn-basebuilder-dir ROOT BRANCH BASEBUILDER_TAG
@@ -239,7 +246,7 @@ fn-basebuilder-dir ()
ROOT="$1"; shift
BRANCH="$1"; shift
BASEBUILDER_TAG="$1"; shift
- echo $ROOT/$BRANCH/org.eclipse.releng.basebuilder_$BASEBUILDER_TAG
+ echo $ROOT/org.eclipse.releng.basebuilder_$BASEBUILDER_TAG
}

Back to the top