X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=buildd%2Ffunctions.sh;h=86063b4473718b3ad88859d504a73a753b7a9024;hb=c4980e2955b16b2be0d1b65cfcf4e6bea193bf53;hp=a1e57dff56d677e2b8679d268170e9ae0d76ada4;hpb=19df4611c634f48c2ea0d321083e55bd0a2eeae4;p=grml-live.git diff --git a/buildd/functions.sh b/buildd/functions.sh index a1e57df..86063b4 100755 --- a/buildd/functions.sh +++ b/buildd/functions.sh @@ -4,7 +4,7 @@ # 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: Thu Oct 25 22:40:45 CEST 2007 [mika] +# Latest change: Fri Oct 26 01:29:50 CEST 2007 [mika] ################################################################################ die() { @@ -48,9 +48,11 @@ echo "my_hdr From: grml-live autobuild daemon <$FROM>" > $MUTT_HEADERS # execute grml-live: grml_live_run() { - if [ -f "$ISO_DIR/$ISO_NAME" ] ; then - echo "$ISO_DIR/$ISO_NAME exists already. Nothing to be done, exiting." - exit 0 + if ! [ "$FORCE_REBUILD" = "1" ] ; then + if [ -f "$ISO_DIR/$ISO_NAME" ] ; then + echo "$ISO_DIR/$ISO_NAME exists already. Nothing to be done, exiting." + exit 0 + fi fi grml-live -F $GRML_LIVE_ARCH -s $SUITE -c $CLASSES -o $OUTPUT_DIR \