X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/352bc8e7263b020be295861cb6bde60203f681f7..01cd85043c8692b8fd743e87a304e23be6172e21:/sdk/cwl/test_with_arvbox.sh diff --git a/sdk/cwl/test_with_arvbox.sh b/sdk/cwl/test_with_arvbox.sh index 1742e68df8..e36eb589b2 100755 --- a/sdk/cwl/test_with_arvbox.sh +++ b/sdk/cwl/test_with_arvbox.sh @@ -5,8 +5,10 @@ set -x +cwldir=$(readlink -f $(dirname $0)) + if ! which arvbox >/dev/null ; then - export PATH=$PATH:$(readlink -f $(dirname $0)/../../tools/arvbox/bin) + export PATH=$PATH:$cwldir/../../tools/arvbox/bin fi reset_container=1 @@ -91,7 +93,7 @@ arvbox start $config $tag # of using the one inside the container, so we can make changes to the # integration tests without necessarily having to rebuilding the # container image. -docker cp -L $(readlink -f $(dirname $0)/tests) $ARVBOX_CONTAINER:/usr/src/arvados/sdk/cwl +docker cp -L $cwldir/tests $ARVBOX_CONTAINER:/usr/src/arvados/sdk/cwl arvbox pipe <