summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjenkins-builds/funcs_promotion.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins-builds/funcs_promotion.sh b/jenkins-builds/funcs_promotion.sh
index b2f5e5f..7f5a1ad 100755
--- a/jenkins-builds/funcs_promotion.sh
+++ b/jenkins-builds/funcs_promotion.sh
@@ -134,7 +134,7 @@ function prom_merge_modules() {
cp -av $k ../$mergefolder/$j.$k
fi
done
- for k in \*-java-src.zip ; do
+ for k in `find . -maxdepth 1 -name \*-java-src.zip` ; do
if [ -e $k ] ; then
cp -av $k ../$mergefolder/
fi