diff options
-rw-r--r-- | qpid/cpp/src/tests/env.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/env.sh.in b/qpid/cpp/src/tests/env.sh.in index ee5b858b94..7ff42df1b7 100644 --- a/qpid/cpp/src/tests/env.sh.in +++ b/qpid/cpp/src/tests/env.sh.in @@ -40,7 +40,9 @@ export PATH=$BUILD_DIR/src:$BUILD_DIR/src/tests:$BUILD_DIR/management/python/bin # Modules function export_module { - [[ -f $BUILD_DIR/src/$2 ]] && export $1=$BUILD_DIR/src/$2 + if [[ -f $BUILD_DIR/src/$2 ]]; then + export $1=$BUILD_DIR/src/$2 + fi } export_module HA_LIB ha.so |