[Releng] Fix for promotion script
Change-Id: I0000000000000000000000000000000000000000
Signed-off-by: Leif Geiger <leif.geiger@yatta.de>
diff --git a/httpclient-target-site/org.eclipse.epp.mpc.apache.httpclient.site/promote/promote.sh b/httpclient-target-site/org.eclipse.epp.mpc.apache.httpclient.site/promote/promote.sh
index bd87de8..ee92f44 100644
--- a/httpclient-target-site/org.eclipse.epp.mpc.apache.httpclient.site/promote/promote.sh
+++ b/httpclient-target-site/org.eclipse.epp.mpc.apache.httpclient.site/promote/promote.sh
@@ -6,6 +6,7 @@
PROMOTE_BASE=$PUBLISH_BASE/.promote
SITE_ID=org.eclipse.epp.mpc.apache.httpclient.site
DIST_NAME=mpc.apache.httpclient
+TARGET_SITE=artifact/httpclient-target-site
do_promote() {
DIST=$1
@@ -123,7 +124,7 @@
;;
esac
test -s "$TARGET_PATH" && echo "$TARGET_PATH already exists" && return 0
- curl -o "$TARGET_PATH" "${PROMOTED_URL}/artifact/${ARCHIVE_PATH}"
+ curl -o "$TARGET_PATH" "${PROMOTED_URL}/$TARGET_SITE/${ARCHIVE_PATH}"
}
download_promote_package() {