Make sure that jjb-cleanup.sh allows unbound vars
[releng/global-jjb.git] / shell / deploy-maven-file.sh
index a0b1f5e..e5bf050 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -l
 # SPDX-License-Identifier: EPL-1.0
 ##############################################################################
 # Copyright (c) 2017 The Linux Foundation and others.
@@ -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 "*")