Fix typo in deploy file builder loop 48/5348/2
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 29 Jun 2017 09:36:58 +0000 (19:36 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 29 Jun 2017 10:47:09 +0000 (20:47 +1000)
Change-Id: I22400fdd7a15897f3648881c1ab74868248113ee
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
shell/deploy-maven-file.sh

index ac6a438..34d26d4 100644 (file)
@@ -24,7 +24,6 @@ DEPLOY_LOG="$WORKSPACE/archives/deploy-maven-file.log"
 mkdir -p "$WORKSPACE/archives"
 
 NEXUS_REPO_URL="${NEXUS_URL}/$REPO_ID"
-mkdir -p "$UPLOAD_FILES_PATH"
 
 while IFS="" read -r file
 do
@@ -33,4 +32,4 @@ do
                               "$file" \
                               -b "$MVN" \
                               -g "$GROUP_ID" | tee "$DEPLOY_LOG"
-done < <(find "$UPLOAD_FILES_PATH" -type d -name "*")
+done < <(find "$UPLOAD_FILES_PATH" -type f -name "*")