summaryrefslogtreecommitdiffstats
path: root/jenkins-builds
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-05 13:54:34 +0200
committerSven Gothel <[email protected]>2014-07-05 13:54:34 +0200
commit23f88dbae2b9f067e1665b764d75b2737da10397 (patch)
tree0748189de28104a063564bb0a047541273912a2c /jenkins-builds
parenta9dbc98969892b9635bba8fe26dd63d2ebbbc777 (diff)
funcs_promotion.prom_merge_modules: Fix case for multiple *-java-src.zip files (use find -maxdepth 1)
Diffstat (limited to 'jenkins-builds')
-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