summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-09 20:15:45 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-09 20:15:45 +0100
commit3a89a56fcff5d541b4b6014be980e0bb0f034e2e (patch)
treebb8049335cefe609f68215ff1a65d88835e8acce
parent5ba5e108f3e85480112fb8a253e26a08d1c9dc78 (diff)
downloadjenkins.debian.net-3a89a56fcff5d541b4b6014be980e0bb0f034e2e.tar.xz
try harder to turn backups into .ppm
-rw-r--r--TODO1
-rwxr-xr-xbin/g-i-installation.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/TODO b/TODO
index 75a8f7ca..47666e66 100644
--- a/TODO
+++ b/TODO
@@ -73,6 +73,7 @@ See link:http://jenkins.debian.net/userContent/about.html["about jenkins.debian.
** scp -r vm:/var/log/ results/log
** ssh root@vm shutdown
* use jigdo to download images - but no edu jigdo images.
+* use https://wiki.jenkins-ci.org/display/JENKINS/Image+Gallery+Plugin
* still havent got http://www.os-autoinst.org/ out of my mind
== Add more tests
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index b69cb45d..9d662f66 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -75,7 +75,7 @@ cleanup_all() {
ffmpeg2theora --videobitrate 700 --no-upscaling snapshot_%06d.ppm --framerate 12 --max_size 800x600 -o g-i-installation-$NAME.ogv
rm snapshot_??????.ppm
# rename .bak files back to .ppm
- if [ -f *.ppm.bak ] ; then
+ if find . -name "*.ppm.bak" ; then
for i in *.ppm.bak ; do
echo mv -v $i ${i%.bak.ppm}.ppm
mv -v $i ${i%.bak.ppm}.ppm