]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/cephadm/test_repos: fix subst
authorSage Weil <sage@redhat.com>
Sat, 8 Feb 2020 01:08:49 +0000 (19:08 -0600)
committerSage Weil <sage@redhat.com>
Sat, 8 Feb 2020 03:26:03 +0000 (21:26 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/cephadm/test_repos.sh

index 2707df212a59fae28bcabd83ce983cea5072873e..5571f5a180013246918e8e410bc409f592374164 100755 (executable)
@@ -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