From: Mykola Golub Date: Sat, 11 Jun 2016 17:01:31 +0000 (+0300) Subject: qa/workunits/rbd: specify source path X-Git-Tag: v10.2.3~128^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F9631%2Fhead;p=ceph.git qa/workunits/rbd: specify source path otherwise it looks in $PATH for the script Signed-off-by: Mykola Golub (cherry picked from commit 698242e7435c9c4d1db7cb6d5aab3faf57eda840) --- diff --git a/qa/workunits/rbd/rbd_mirror.sh b/qa/workunits/rbd/rbd_mirror.sh index 2408cc873823..8c2c5873ad22 100755 --- a/qa/workunits/rbd/rbd_mirror.sh +++ b/qa/workunits/rbd/rbd_mirror.sh @@ -9,7 +9,7 @@ if [ -n "${CEPH_REF}" ]; then wget -O rbd_mirror_helpers.sh "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=qa/workunits/rbd/rbd_mirror_helpers.sh" - . rbd_mirror_helpers.sh + . ./rbd_mirror_helpers.sh else . $(dirname $0)/rbd_mirror_helpers.sh fi diff --git a/qa/workunits/rbd/rbd_mirror_stress.sh b/qa/workunits/rbd/rbd_mirror_stress.sh index 1a234428da5b..a8561eed9d8d 100755 --- a/qa/workunits/rbd/rbd_mirror_stress.sh +++ b/qa/workunits/rbd/rbd_mirror_stress.sh @@ -8,7 +8,7 @@ export LOCKDEP=0 if [ -n "${CEPH_REF}" ]; then wget -O rbd_mirror_helpers.sh "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=qa/workunits/rbd/rbd_mirror_helpers.sh" - . rbd_mirror_helpers.sh + . ./rbd_mirror_helpers.sh else . $(dirname $0)/rbd_mirror_helpers.sh fi