diff options
author | Sven Gothel <[email protected]> | 2012-03-29 02:15:08 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-03-29 02:15:08 +0200 |
commit | b06b44ffb5652f9fca872b88c8c5b7b8a4dbd6fb (patch) | |
tree | 565e8af536381afbccfc6f79887b9d867905ba31 /jenkins-builds/funcs_promotion.sh | |
parent | 5d4b1321a088668fd2e54113690ed540b4dae40e (diff) |
funcs_promotion.sh: Use find to work on optional apk files
Diffstat (limited to 'jenkins-builds/funcs_promotion.sh')
-rwxr-xr-x | jenkins-builds/funcs_promotion.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jenkins-builds/funcs_promotion.sh b/jenkins-builds/funcs_promotion.sh index b82fa04..69edf87 100755 --- a/jenkins-builds/funcs_promotion.sh +++ b/jenkins-builds/funcs_promotion.sh @@ -155,7 +155,7 @@ function prom_merge_modules() { else if [ -e jar ] ; then mkdir -p ../$mergefolder/jar - for l in jar/*natives*.jar jar/*.apk ; do + for l in `find jar -name \*natives\* -o -name \*.apk` ; do cp -av $l ../$mergefolder/jar/ done if [ -e jar/atomic ] ; then @@ -230,7 +230,7 @@ function prom_promote_module() { # 7z folder verfified above already local zfile=archive/jogamp-$i/$module-$i.7z local zfolder=tmp/`basename $zfile .7z` - for j in $zfolder/jar/*.jar $zfolder/jar/*.apk ; do + for j in `find $zfolder/jar -name \*.jar -o -name \*.apk` ; do cp -av $j ./jar/ done if [ -e $zfolder/jar/atomic ] ; then @@ -356,7 +356,7 @@ function prom_integrity_check() { mkdir -p $tmpdir cd $tmpdir - for i in $lthisdir/$destdir/$jardir/*.jar $lthisdir/$destdir/$jardir/*.apk ; do + for i in `find $lthisdir/$destdir/$jardir -name \*.jar -o -name \*.apk` ; do local bname=`basename $i` echo -n "INFO: integrity check - $bname - " local OK=0 |