Skip to content

Commit 4f1caa4

Browse files
committed
fix if else
1 parent c64a2d4 commit 4f1caa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nifi/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ EOF
2020
# [ERROR] Detected Maven Version: 3.6.3 is not in the allowed range [3.9.6,).
2121
#
2222
RUN <<EOF
23-
if [[ "${PRODUCT}" != 1.* ]] then
23+
if [[ "${PRODUCT}" != 1.* ]] ; then
2424
cd /tmp
2525
curl "https://repo.stackable.tech/repository/packages/maven/apache-maven-${MAVEN_VERSION}-bin.tar.gz" | tar -xzC .
2626
ln -sf /tmp/apache-maven-${MAVEN_VERSION}/bin/mvn /usr/bin/mvn
@@ -58,7 +58,7 @@ cd /stackable/nifi-${PRODUCT}-src/
5858

5959
# NOTE: Since NiFi 2.0.0 PutIceberg Processor and services were removed, so including the `include-iceberg` profile does nothing.
6060
# Additionally some modules were moved to optional build profiles, so we need to add `include-hadoop` to get `nifi-parquet-nar` for example.
61-
if [[ "${PRODUCT}" != 1.* ]] then
61+
if [[ "${PRODUCT}" != 1.* ]] ; then
6262
mvn --batch-mode --no-transfer-progress clean install -Dmaven.javadoc.skip=true -DskipTests --activate-profiles include-hadoop,include-hadoop-aws,include-hadoop-azure,include-hadoop-gcp
6363
else
6464
mvn --batch-mode --no-transfer-progress clean install -Dmaven.javadoc.skip=true -DskipTests --activate-profiles include-iceberg,include-hadoop-aws,include-hadoop-azure,include-hadoop-gcp

0 commit comments

Comments
 (0)