From: Dimitrios Markou Date: Sat, 5 May 2018 12:33:48 +0000 (+0300) Subject: Bug Fix: Replace -type f with -xtype f X-Git-Tag: v0.19.2~2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F60%2F10460%2F2;p=releng%2Fglobal-jjb.git Bug Fix: Replace -type f with -xtype f 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 Signed-off-by: Anil Belur --- diff --git a/shell/deploy-maven-file.sh b/shell/deploy-maven-file.sh index a0b1f5e5..1b895389 100644 --- a/shell/deploy-maven-file.sh +++ b/shell/deploy-maven-file.sh @@ -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 "*")