]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/workunits/rbd: specify source path
authorMykola Golub <mgolub@mirantis.com>
Sat, 11 Jun 2016 17:01:31 +0000 (20:01 +0300)
committerMykola Golub <mgolub@mirantis.com>
Sat, 11 Jun 2016 17:30:32 +0000 (20:30 +0300)
otherwise it looks in $PATH for the script

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
qa/workunits/rbd/rbd_mirror.sh
qa/workunits/rbd/rbd_mirror_stress.sh

index 158b5394c25872e81f1513e30e46d54d17f3ffe1..a073252f0ed49cc7746ee8ff35a043438ebb24f1 100755 (executable)
@@ -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
index 1a234428da5ba9f1662c7f9151b822909712dace..a8561eed9d8d7990406f6dc7beb0e6a16c3a61f2 100755 (executable)
@@ -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