summaryrefslogtreecommitdiffstats
path: root/jenkins-builds/promote-latest-builds.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-04-30 06:34:45 +0200
committerSven Gothel <[email protected]>2012-04-30 06:34:45 +0200
commit2a51d72348b74025a90c1707e1abc0281a1ecf77 (patch)
tree34af46513f317fb8ef26d2338d36f8fedd07dc5d /jenkins-builds/promote-latest-builds.sh
parent63a0b9f58a944d059b79eab29f60f8f686aac683 (diff)
further cleanup after regression test of promotion scripts
Diffstat (limited to 'jenkins-builds/promote-latest-builds.sh')
-rwxr-xr-xjenkins-builds/promote-latest-builds.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/jenkins-builds/promote-latest-builds.sh b/jenkins-builds/promote-latest-builds.sh
index 3bcb74b..2cff133 100755
--- a/jenkins-builds/promote-latest-builds.sh
+++ b/jenkins-builds/promote-latest-builds.sh
@@ -38,10 +38,11 @@ os_and_archs_minus_one="linux-i586 linux-armv7 linux-armv7hf android-armv7 macos
masterpick="linux-amd64"
os_and_archs="$masterpick $os_and_archs_minus_one"
-dest=tmp-archive
-
cd $rootdir
+dest=tmp-archive
+rm -rf $dest
+
function promote-latest-builds() {
echo
echo "Promotion of latest files"
@@ -52,7 +53,7 @@ function promote-latest-builds() {
echo
echo `date`
echo
- prom_setup $rootdir $dest
+ prom_setup $dest
gluegenslave=`prom_lslatest gluegen-b`
bgluegenslave=`prom_buildnumber_2 $gluegenslave`