From 627a028dab8768e1dc0b006245be6b2a3f261307 Mon Sep 17 00:00:00 2001 From: zyxxoo <1318247699@qq.com> Date: Sun, 4 Dec 2022 21:19:52 +0800 Subject: [PATCH] fix: hugegraph script error (#2044) --- hugegraph-dist/src/assembly/static/bin/hugegraph | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugegraph-dist/src/assembly/static/bin/hugegraph b/hugegraph-dist/src/assembly/static/bin/hugegraph index 42581acbea..452d9336a9 100644 --- a/hugegraph-dist/src/assembly/static/bin/hugegraph +++ b/hugegraph-dist/src/assembly/static/bin/hugegraph @@ -23,8 +23,8 @@ INSTALL_DIR= SERVER_PORT= -${INSTALL_DIR:?"Please open the script then set variable 'INSTALL_DIR' manually"} -${SERVER_PORT:?"Please open the script then set variable 'SERVER_PORT' manually"} +INSTALL_DIR=${INSTALL_DIR:?"Please open the script then set variable 'INSTALL_DIR' manually"} +SERVER_PORT=${SERVER_PORT:?"Please open the script then set variable 'SERVER_PORT' manually"} BIN_DIR=$INSTALL_DIR/bin SERVER_URL="http://localhost:${SERVER_PORT}"