[hooks] buildfail: add uname -m subdir

This commit is contained in:
Fabio Erculiani 2011-08-29 16:56:58 +02:00
parent f69a297810
commit ad351df5aa

View File

@ -13,7 +13,7 @@ if [ ! -f "${BUILD_LOG}" ]; then
echo "cannot find build log file" echo "cannot find build log file"
exit 1 exit 1
fi fi
REMOTE_DIR="~/tinderbox/${DATE_DIR}/${MATTER_PORTAGE_FAILED_PACKAGE_NAME}" REMOTE_DIR="~/tinderbox/${DATE_DIR}/$(uname -m)/${MATTER_PORTAGE_FAILED_PACKAGE_NAME}"
echo "Uploading ${BUILD_LOG} to tinderbox.sabayon.org..." echo "Uploading ${BUILD_LOG} to tinderbox.sabayon.org..."
ssh entropy@tinderbox.sabayon.org mkdir -p "${REMOTE_DIR}" ssh entropy@tinderbox.sabayon.org mkdir -p "${REMOTE_DIR}"