Unverified Commit f15428e6 authored by Zzm0809's avatar Zzm0809 Committed by GitHub

[Fix] fix start scripts cannot run (#3365)

Signed-off-by: 's avatarZzm0809 <934230207@qq.com>
parent 09707250
...@@ -12,7 +12,7 @@ JAR_NAME="dinky-admin" ...@@ -12,7 +12,7 @@ JAR_NAME="dinky-admin"
if [ -z "${FLINK_VERSION}" ]; then if [ -z "${FLINK_VERSION}" ]; then
# Obtain the Flink version under EXTENDSHOME, only perform recognition and do not perform any other operations, for prompt purposes # Obtain the Flink version under EXTENDSHOME, only perform recognition and do not perform any other operations, for prompt purposes
FLINK_VERSION_SCAN=$(ll ${EXTENDS_HOME} | grep '^d' | grep flink | awk -F 'flink' '{print $2}') FLINK_VERSION_SCAN=$(ls -n ${EXTENDS_HOME} | grep '^d' | grep flink | awk -F 'flink' '{print $2}')
# If FLINK_VERSION-SCAN is not empty, assign FLINK_VERSION-SCAN to FLINK_VERSION # If FLINK_VERSION-SCAN is not empty, assign FLINK_VERSION-SCAN to FLINK_VERSION
if [ -n "${FLINK_VERSION_SCAN}" ]; then if [ -n "${FLINK_VERSION_SCAN}" ]; then
FLINK_VERSION=${FLINK_VERSION_SCAN} FLINK_VERSION=${FLINK_VERSION_SCAN}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment