summaryrefslogtreecommitdiffstats
path: root/jenkins-builds/funcs_promotion.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-02-27 22:08:04 +0100
committerSven Gothel <[email protected]>2012-02-27 22:08:04 +0100
commit191726a29dbfeab111d1a55ca32ce83055ebbb6a (patch)
tree366e66c4f079004ee473503306d40963f3917c70 /jenkins-builds/funcs_promotion.sh
parente833143af594ed0e3c1f966af56e4970b1318fe8 (diff)
Add linux-armv7 to aggreagtion ; Clip os.and.arch from demo folder within 7z
Diffstat (limited to 'jenkins-builds/funcs_promotion.sh')
-rwxr-xr-xjenkins-builds/funcs_promotion.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/jenkins-builds/funcs_promotion.sh b/jenkins-builds/funcs_promotion.sh
index 87b780c..840391a 100755
--- a/jenkins-builds/funcs_promotion.sh
+++ b/jenkins-builds/funcs_promotion.sh
@@ -281,13 +281,13 @@ function prom_promote_demos() {
echo "ERROR: No 7z file for module $module, sdir $sourcedir"
exit 1
fi
- cp -av $sfile $zfile
local sfolder=`basename $sfile .7z`
- local zfolder=`basename $zfile .7z`
- echo "INFO: extract $module - $zfile -> tmp/$zfolder"
+ local zfolder=$module
+ echo "INFO: extract $module - $sfile -> tmp/$zfolder"
cd tmp
- prom_extract ../$zfile $sfolder
+ prom_extract ../$sfile $sfolder
mv -v $sfolder $zfolder
+ 7z a -r ../$zfile $zfolder
cd ..
if $fromslave ; then
prom_verify_artifacts $module log/$module.artifact.properties tmp/$zfolder/artifact.properties