if test -n "${DEBIAN_DIST}"; then
for dist in ${DEBIAN_DIST}; do
ssh ${UPLOAD_HOST} "mkdir -p ${UPLOAD_PATH}/${PRODUCT}/debian/${dist}"
- if ! scp build/debian/${dist}/* ${UPLOAD_URI}/debian/${dist}; then
+ if ! scp build/debian/${dist}/${PRODUCT}_* ${UPLOAD_URI}/debian/${dist}; then
echo "Upload failed for $dist"
exit 1
fi
if test -n "${UBUNTU_DIST}"; then
for dist in ${UBUNTU_DIST}; do
ssh ${UPLOAD_HOST} "mkdir -p ${UPLOAD_PATH}/${PRODUCT}/ubuntu/${dist}"
- if ! scp build/ubuntu/${dist}/* ${UPLOAD_URI}/ubuntu/${dist}; then
+ if ! scp build/ubuntu/${dist}/${PRODUCT}_* ${UPLOAD_URI}/ubuntu/${dist}; then
echo "Upload failed for $dist"
exit 1
fi