Skip to content

Commit

Permalink
chore: use '*' to avoid using fixed version (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
z7658329 authored Jan 4, 2023
1 parent a8ece42 commit 40f7102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugegraph-tools/assembly/bin/hugegraph
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ if [ "$JAVA_OPTIONS" = "" ] ; then
JAVA_OPTIONS="-Xms${MIN_MEM}m -Xmx${XMX}m"
fi

tools_ext_jar_path=$LIB/hugegraph-tools-1.0.0.jar
tools_ext_jar_path=$LIB/hugegraph-tools-*.jar
for i in $LIB/*.jar; do tools_ext_jar_path=$tools_ext_jar_path:$i; export tools_ext_jar_path; done
exec $JAVA -Dtools.home.path=${TOP} $JAVA_OPTIONS -cp $tools_ext_jar_path \
org.apache.hugegraph.cmd.HugeGraphCommand $URL_ARG $GRAPH_ARG $USER_ARG $PASSWORD_ARG $TIMEOUT_ARG $TRUST_STORE_FILE_ARG $TRUST_STORE_PASSWORD_ARG "$@"

0 comments on commit 40f7102

Please sign in to comment.