We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1e4ae3 commit 1bb95d3Copy full SHA for 1bb95d3
test/run_unit
@@ -1,11 +1,11 @@
1
#!/bin/bash
2
3
-if [ "x${UCVM_INSTALL_PATH}" != "x" ]; then
4
- if [ -f ${UCVM_INSTALL_PATH}/conf/ucvm_env.sh ]; then
+if [[ ! -z "${UCVM_INSTALL_PATH}" ]]; then
+ if [[ -f ${UCVM_INSTALL_PATH}/conf/ucvm_env.sh ]]; then
5
source ${UCVM_INSTALL_PATH}/conf/ucvm_env.sh
6
./unittest
7
exit
8
fi
9
10
11
-env DYLD_LIBRARY_PATH=../src LD_LIBRARY_PATH=../src ./unittest
+env DYLD_LIBRARY_PATH=../src:${DYLD_LIBRARY_PATH} LD_LIBRARY_PATH=../src:${LD_LIBRARY_PATH} ./unittest
0 commit comments