From 8f5fc38b56f137b69b1894bdf49326595df89c92 Mon Sep 17 00:00:00 2001 From: Matthew Fuller Date: Thu, 11 Mar 2021 17:23:09 +0000 Subject: [PATCH] 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 --- tools/validate_docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/validate_docs b/tools/validate_docs index b23f9f73d..a6903ec22 100755 --- a/tools/validate_docs +++ b/tools/validate_docs @@ -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