summaryrefslogtreecommitdiffstats
path: root/bin
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 /bin
parent5ba5e108f3e85480112fb8a253e26a08d1c9dc78 (diff)
downloadjenkins.debian.net-3a89a56fcff5d541b4b6014be980e0bb0f034e2e.tar.xz
try harder to turn backups into .ppm
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh2
1 files changed, 1 insertions, 1 deletions
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