Skip to content
Permalink
Browse files
Fix confignode script error (#5942)
  • Loading branch information
HTHou committed May 18, 2022
1 parent 71e9389 commit 0a00929135fc534dd6880bc7c53867fc5d2d7a73
Showing 2 changed files with 4 additions and 4 deletions.
@@ -93,7 +93,7 @@ set JAVA_OPTS=-ea^

@REM ***** CLASSPATH library setting *****
@REM Ensure that any user defined CLASSPATH variables are not used on startup
if EXIST %IOTDB_HOME%\lib (set CLASSPATH="%IOTDB_HOME%\lib\*") else set CLASSPATH="%IOTDB_HOME%\..\lib\*"
if EXIST %CONFIGNODE_HOME%\lib (set CLASSPATH="%CONFIGNODE_HOME%\lib\*") else set CLASSPATH="%CONFIGNODE_HOME%\..\lib\*"
set CLASSPATH=%CLASSPATH%;iotdb.ConfigNode
goto okClasspath

@@ -57,10 +57,10 @@ else
echo "can't find $CONFIGNODE_CONF/confignode-env.sh"
fi

if [ -d ${IOTDB_HOME}/lib ]; then
LIB_PATH=${IOTDB_HOME}/lib
if [ -d ${CONFIGNODE_HOME}/lib ]; then
LIB_PATH=${CONFIGNODE_HOME}/lib
else
LIB_PATH=${IOTDB_HOME}/../lib
LIB_PATH=${CONFIGNODE_HOME}/../lib
fi

CLASSPATH=""

0 comments on commit 0a00929

Please sign in to comment.