summaryrefslogtreecommitdiffstats
path: root/jenkins-builds
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-29 02:15:08 +0200
committerSven Gothel <[email protected]>2012-03-29 02:15:08 +0200
commitb06b44ffb5652f9fca872b88c8c5b7b8a4dbd6fb (patch)
tree565e8af536381afbccfc6f79887b9d867905ba31 /jenkins-builds
parent5d4b1321a088668fd2e54113690ed540b4dae40e (diff)
funcs_promotion.sh: Use find to work on optional apk files
Diffstat (limited to 'jenkins-builds')
-rwxr-xr-xjenkins-builds/funcs_promotion.sh6
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