From: Michael Prokop Date: Thu, 28 Apr 2011 07:39:23 +0000 (+0200) Subject: buildd: follow symlinks to archive and dump the log files they point to. X-Git-Tag: v0.13.3~49 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=d88753b4aaae6b56bd8013ff3455ea144a908d67 buildd: follow symlinks to archive and dump the log files they point to. --- diff --git a/buildd/functions.sh b/buildd/functions.sh index 631d3e2..04d2eb1 100755 --- a/buildd/functions.sh +++ b/buildd/functions.sh @@ -81,7 +81,7 @@ grml_live_run() { # create log archive: create_logs() { - ( cd / && tar zcf $ATTACHMENT $FAI_LOGFILES /var/log/grml-buildd.stderr /var/log/grml-buildd.stdout $GRML_LOGFILE >/dev/null ) + ( cd / && tar zcfh $ATTACHMENT $FAI_LOGFILES /var/log/grml-buildd.stderr /var/log/grml-buildd.stdout $GRML_LOGFILE >/dev/null ) } # store logs on remote server: