Fix site doc validation failure

Removes the default path of '/tmp/default' from
MANIFEST_ROOT and replaces it with the dirname of the current
(treasuremap) directory.

Closes: #89
Change-Id: Iccf2627cc11567ce1a6065fae8cef53f806a63ea
This commit is contained in:
Matthew Fuller 2021-03-11 17:23:09 +00:00
parent 52e072ef8a
commit 8f5fc38b56
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
set -xe
: ${AIRSHIPCTL_PROJECT:="../airshipctl"}
: ${MANIFEST_ROOT:="/tmp/default"}
: ${MANIFEST_ROOT:="$(dirname "${PWD}")"}
: ${SITE_ROOTS:="$(basename "${PWD}")/manifests/site"}
: ${MANIFEST_REPO_URL:="https://review.opendev.org/airship/treasuremap"}
export MANIFEST_ROOT=$MANIFEST_ROOT