Adjust 95-package-information for new log layout
[grml-live.git] / buildd / grml-live_autobuild_grml64-large_etch.sh
index 062a2e2..98c185d 100755 (executable)
@@ -1,13 +1,15 @@
 #!/bin/sh
 
-. main.sh || exit 1
-
 # settings for grml_live_run:
+DATE=$(date +%Y%m%d)
 ISO_NAME=grml64_etch_$DATE.iso
 SUITE=etch
 CLASSES='GRMLBASE,GRML_FULL,LATEX_CLEANUP,AMD64'
 NAME=grml64
 SCRIPTNAME="$(basename $0)"
+ARCH=amd64
+
+. /usr/share/grml-live/buildd/functions.sh || exit 1
 
 # execute grml-live:
 grml_live_run
@@ -20,4 +22,8 @@ send_mail
 
 store_iso
 
-bailout
+if [ "$RC" = "0" ] ; then
+   bailout
+else
+   echo "building ISO failed, keeping build files [${OUTPUT_DIR}]"
+fi