From 23f88dbae2b9f067e1665b764d75b2737da10397 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 5 Jul 2014 13:54:34 +0200 Subject: funcs_promotion.prom_merge_modules: Fix case for multiple *-java-src.zip files (use find -maxdepth 1) --- jenkins-builds/funcs_promotion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jenkins-builds') 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 -- cgit v1.2.3