Update buildd scripts (better subject handling)
[grml-live.git] / buildd / upload_isos.sh
1 #!/bin/sh
2 # Filename:      upload_isos.sh
3 # Purpose:       upload generated ISOs to daily.grml.org
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2 or any later version.
7 # Latest change: Mit Okt 10 09:46:08 CEST 2007 [mika]
8 ################################################################################
9
10 cd /grml-live/grml-isos || exit 1
11 for file in *.iso ; do
12     [ -f "${file}.md5" ] || md5sum $file > $file.md5
13     chmod 664 $file
14     chmod 664 ${file}.md5
15 done
16 umask 002
17 rsync --partial -az --quiet /grml-live/grml-isos/* grml-build@debian.netcologne.de:/home/ftp/www.grml.org/daily/
18
19 ## END OF FILE #################################################################