Use --copy-links for rsync in upload_logs()
authorMichael Prokop <devnull@localhost>
Sat, 22 Dec 2007 15:14:38 +0000 (16:14 +0100)
committerMichael Prokop <devnull@localhost>
Sat, 22 Dec 2007 15:14:38 +0000 (16:14 +0100)
buildd/functions.sh

index 60667d5..b8652ff 100755 (executable)
@@ -79,7 +79,7 @@ create_logs() {
 upload_logs() {
   [ -n "$RSYNC_MIRROR" ] || return 1
   umask 002
 upload_logs() {
   [ -n "$RSYNC_MIRROR" ] || return 1
   umask 002
-  rsync --exclude dmesg.log --times --partial -az --quiet /var/log/grml-buildd.* \
+  rsync --exclude dmesg.log --times --partial --copy-links -az --quiet /var/log/grml-buildd.* \
   $FAI_LOGFILES $GRML_LOGFILE $RSYNC_MIRROR/logs/"${NAME}_${DATE}"/
 }
 
   $FAI_LOGFILES $GRML_LOGFILE $RSYNC_MIRROR/logs/"${NAME}_${DATE}"/
 }