Skip to content

Commit

Permalink
fix(risedev): connector-node start-up script (risingwavelabs#8590)
Browse files Browse the repository at this point in the history
Co-authored-by: lmatz <lmatz823@gmail.com>
  • Loading branch information
fuyufjh and lmatz committed Mar 20, 2023
1 parent da57717 commit 19b1be3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions java/connector-node/assembly/scripts/start-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ while getopts ":h:p:" o; do
done
shift $((OPTIND-1))


DIR="$( cd "$( dirname "$0" )" && pwd )"
MAIN='com.risingwave.connector.ConnectorService'
PORT=50051
Expand Down
2 changes: 1 addition & 1 deletion src/risedevtool/connector.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if !(command -v javac &> /dev/null && [[ "$(javac -version 2>&1 | awk '{print $2
exit 1
fi
if command -v mvn &> /dev/null; then
if (command -v mvn &> /dev/null) || [ -d "${PREFIX_BIN}/maven" ]; then
exit 0
else
echo "Maven is not installed. Downloading now..."
Expand Down

0 comments on commit 19b1be3

Please sign in to comment.