diff options
Diffstat (limited to 'messagebus_test/src/tests/error/ctl.sh')
-rwxr-xr-x | messagebus_test/src/tests/error/ctl.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/messagebus_test/src/tests/error/ctl.sh b/messagebus_test/src/tests/error/ctl.sh index 864be4290ed..d018444c499 100755 --- a/messagebus_test/src/tests/error/ctl.sh +++ b/messagebus_test/src/tests/error/ctl.sh @@ -1,4 +1,10 @@ #!/bin/bash # Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -exec ../../binref/progctl.sh progdefs.sh "$@" +if [ -z "$SOURCE_DIRECTORY" ]; then + SOURCE_DIRECTORY="." +fi + +. ../../binref/env.sh + +exec $BINREF/progctl.sh $SOURCE_DIRECTORY/progdefs.sh "$@" |