diff --git a/scripts/flink_download_connectors.sh b/scripts/flink_download_connectors.sh index 03633390d..bf5cde2f7 100755 --- a/scripts/flink_download_connectors.sh +++ b/scripts/flink_download_connectors.sh @@ -125,7 +125,11 @@ else done # Set the environment variable 'connectors' - flink_connectors="wget -P /opt/flink/lib ${connector_urls[*]} && " + if [ -z "${connector_urls[*]}" ]; then + flink_connectors=" " + else + flink_connectors="wget -P /opt/flink/lib ${connector_urls[*]} && " + fi export flink_connectors log "Environment variable 'flink_connectors' set with the following URLs which will be downloaded for the containers:"