You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/05/18 03:01:53 UTC
[iotdb] branch Fix_confignode_script_error created (now da54cdbca9)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a change to branch Fix_confignode_script_error
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at da54cdbca9 Fix confignode script error
This branch includes the following new commits:
new da54cdbca9 Fix confignode script error
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: Fix confignode script error
Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch Fix_confignode_script_error
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit da54cdbca9a810155a677af176b1749ab1e8e21b
Author: HTHou <hh...@outlook.com>
AuthorDate: Wed May 18 11:01:31 2022 +0800
Fix confignode script error
---
confignode/src/assembly/resources/sbin/start-confignode.bat | 2 +-
confignode/src/assembly/resources/sbin/start-confignode.sh | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/confignode/src/assembly/resources/sbin/start-confignode.bat b/confignode/src/assembly/resources/sbin/start-confignode.bat
index 65db4c9802..918c0b997e 100644
--- a/confignode/src/assembly/resources/sbin/start-confignode.bat
+++ b/confignode/src/assembly/resources/sbin/start-confignode.bat
@@ -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
diff --git a/confignode/src/assembly/resources/sbin/start-confignode.sh b/confignode/src/assembly/resources/sbin/start-confignode.sh
index fd51caa128..8a04fb47f5 100644
--- a/confignode/src/assembly/resources/sbin/start-confignode.sh
+++ b/confignode/src/assembly/resources/sbin/start-confignode.sh
@@ -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=""