Skip to content

Commit

Permalink
qa/workunits/rbd: specify source path
Browse files Browse the repository at this point in the history
otherwise it looks in $PATH for the script

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 698242e)
  • Loading branch information
Mykola Golub authored and Jason Dillaman committed Jun 14, 2016
1 parent 70c97bd commit b4a80cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qa/workunits/rbd/rbd_mirror.sh
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion qa/workunits/rbd/rbd_mirror_stress.sh
Expand Up @@ -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
Expand Down

0 comments on commit b4a80cb

Please sign in to comment.