Bug Fix: Replace -type f with -xtype f 60/10460/2
authorDimitrios Markou <mardim@intracom-telecom.com>
Sat, 5 May 2018 12:33:48 +0000 (15:33 +0300)
committerAnil Belur <abelur@linuxfoundation.org>
Sat, 5 May 2018 23:50:38 +0000 (09:50 +1000)
The -type f parameter cannot recognize symbolic link files
so the replacement with the -xtype f parameter solve this problem

https://jira.opendaylight.org/browse/INTPAK-162

Change-Id: I38aaf2ff3d655d44e757c863f83a0b2cb811ab41
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
shell/deploy-maven-file.sh

index a0b1f5e..1b89538 100644 (file)
@@ -48,4 +48,4 @@ do
                               -g "$GROUP_ID" \
                               -p "$MAVEN_OPTIONS $MAVEN_PARAMS" \
                               |& tee "$DEPLOY_LOG"
-done < <(find "$UPLOAD_FILES_PATH" -type f -name "*")
+done < <(find "$UPLOAD_FILES_PATH" -xtype f -name "*")