summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-25 15:08:37 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-25 15:08:37 +0200
commit74e934b002081c8c34a99933c163fd894e90d147 (patch)
tree6cc47d6b2b5df38522141006c64297a4a933d8e2 /bin
parent3ca8a01cfa922358daf1927c52dd64d73d693c63 (diff)
downloadjenkins.debian.net-74e934b002081c8c34a99933c163fd894e90d147.tar.xz
g-i: fixup preserved image names
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index a8bd8605..68d9e396 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -105,11 +105,11 @@ cleanup_all() {
rm "snapshot_??????.ppm"
# rename .bak files back to .ppm
if find . -name "*.ppm.bak" > /dev/null ; then
- for i in "*.ppm.bak" ; do
+ for i in $(find * -name "*.ppm.bak") ; do
mv $i $(echo $i | sed -s 's#.ppm.bak#.ppm#')
done
# convert to png (less space and better supported in browsers)
- for i in "*.ppm" ; do
+ for i in $(find * -name "*.ppm") ; do
convert $CONVERTOPTS $i ${i%.ppm}.png
rm $i
done