From 7d7cf484ee33623973577fe73b356ba45def2865 Mon Sep 17 00:00:00 2001 From: Matt McEuen Date: Sun, 26 Nov 2017 14:19:57 -0600 Subject: [PATCH] Fixed helm_dry_run path issue Fixed the calculation of WORK_DIR so that the script can be invoked by itself (as opposed to part of the overall gate scripts, which works fine). Change-Id: Ib7d07978965d3401725c7766754bbaff2f535a5a --- tools/gate/helm_dry_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gate/helm_dry_run.sh b/tools/gate/helm_dry_run.sh index 2321645745..d10d607ecd 100755 --- a/tools/gate/helm_dry_run.sh +++ b/tools/gate/helm_dry_run.sh @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. set -ex -: ${WORK_DIR:="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"} +: ${WORK_DIR:="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../.."} source ${WORK_DIR}/tools/gate/vars.sh source ${WORK_DIR}/tools/gate/funcs/helm.sh