buildd: prefix log dir target with PRODUCT_NAME
authorChristian Hofstaedtler <ch@grml.org>
Fri, 25 Nov 2011 07:09:33 +0000 (08:09 +0100)
committerChristian Hofstaedtler <ch@grml.org>
Fri, 25 Nov 2011 07:44:01 +0000 (08:44 +0100)
buildd/functions.sh

index 89eb38f..7adf5c1 100755 (executable)
@@ -91,7 +91,7 @@ create_logs() {
 upload_logs() {
   [ -n "$RSYNC_MIRROR" ] || return 1
   rsync --exclude dmesg.log --times --partial --copy-links -rltDz --quiet /var/log/grml-buildd.log \
-  $FAI_LOGFILES $GRML_LOGFILE $RSYNC_MIRROR/logs/"${NAME}_${DATE}"/
+  $FAI_LOGFILES $GRML_LOGFILE $RSYNC_MIRROR/logs/"${PRODUCT_NAME}_${DATE}"/
 }
 
 # store information of ISO size: