X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=buildd%2Fupload_isos.sh;h=25a33fd170815717de36acdfaa880e806a8d34bb;hb=b3b07ef7a30ac21c82a71e1ad599734425185a8a;hp=9755452f4ddc8aa092e96fb7710d2b66cb33e52f;hpb=5e517c2dd8404f40f8c1439cedd07571df1a540c;p=grml-live.git diff --git a/buildd/upload_isos.sh b/buildd/upload_isos.sh index 9755452..25a33fd 100755 --- a/buildd/upload_isos.sh +++ b/buildd/upload_isos.sh @@ -1,15 +1,17 @@ #!/bin/sh -# Filename: /usr/share/grml-live/buildd/buildd/upload_isos.sh +# Filename: /usr/share/grml-live/buildd/upload_isos.sh # Purpose: upload grml ISOs to a rsync server # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Mon Oct 22 19:11:33 CEST 2007 [mika] +# Latest change: Mon Oct 22 19:50:36 CEST 2007 [mika] ################################################################################ -. /usr/share/grml-live/buildd/buildd/functions.sh || exit 1 +. /etc/grml/grml-buildd.conf || exit 1 [ -n "$RSYNC_MIRROR" ] || exit 2 -cd $ISO_DIR || exit 3 +[ -n "$ISO_DIR" ] || exit 3 + +cd $ISO_DIR || exit 4 umask 002 for file in *.iso ; do