From: Sage Weil Date: Sat, 8 Feb 2020 01:08:49 +0000 (-0600) Subject: qa/workunits/cephadm/test_repos: fix subst X-Git-Tag: v15.1.1~504^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=883f82aee602e733cd6be5717aef00f9336c2ba1;p=ceph.git qa/workunits/cephadm/test_repos: fix subst Signed-off-by: Sage Weil --- diff --git a/qa/workunits/cephadm/test_repos.sh b/qa/workunits/cephadm/test_repos.sh index 2707df212a59..5571f5a18001 100755 --- a/qa/workunits/cephadm/test_repos.sh +++ b/qa/workunits/cephadm/test_repos.sh @@ -1,7 +1,7 @@ -#!/bin/sh -ex +#!/bin/bash -ex SCRIPT_NAME=$(basename ${BASH_SOURCE[0]}) -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +SCRIPT_DIR=$(dirname ${BASH_SOURCE[0]}) CEPHADM_SRC_DIR=${SCRIPT_DIR}/../../../src/cephadm CEPHADM=${CEPHADM_SRC_DIR}/cephadm