diff options
author | Sven Gothel <[email protected]> | 2014-07-05 13:54:34 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-07-05 13:54:34 +0200 |
commit | 23f88dbae2b9f067e1665b764d75b2737da10397 (patch) | |
tree | 0748189de28104a063564bb0a047541273912a2c /jenkins-builds | |
parent | a9dbc98969892b9635bba8fe26dd63d2ebbbc777 (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-x | jenkins-builds/funcs_promotion.sh | 2 |
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 |