X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=buildd%2Ffunctions.sh;h=7b979bc81f5536103ba7d93ccf4d272b70618cfb;hp=967c8f1170e5153557119a9235a59e87bca57441;hb=0a08c07e12394fabaf1b92b9c10f0632d88de1c3;hpb=2124a2fe0748887da88662abc5ce7c2c643120b8 diff --git a/buildd/functions.sh b/buildd/functions.sh index 967c8f1..7b979bc 100755 --- a/buildd/functions.sh +++ b/buildd/functions.sh @@ -45,7 +45,7 @@ else [ -n "$GRML_LOGFILE" ] || GRML_LOGFILE=/var/log/grml-live.log fi -[ -n "$FAI_LOGFILES" ] || FAI_LOGFILES=/var/log/fai/dirinstall/grml +[ -n "$FAI_LOGFILES" ] || FAI_LOGFILES=/var/log/fai/grml/last echo "my_hdr From: grml-live autobuild daemon <$FROM>" > $MUTT_HEADERS @@ -72,7 +72,7 @@ grml_live_run() { # create log archive: create_logs() { - ( cd / && tar zcf $ATTACHMENT var/log/fai/dirinstall/grml $GRML_LOGFILE 1>/dev/null ) + ( cd / && tar zcf $ATTACHMENT $FAI_LOGFILES $GRML_LOGFILE 1>/dev/null ) } # store information of ISO size: