summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-12-10 21:39:21 +0000
committerMichael Imhof <tantive@gentoo.org>2003-12-10 21:39:21 +0000
commiteae6affd261913a8e6291449e7b144e02943f228 (patch)
tree05e89c6d866491b8642fea306b56a5e979b1bf46 /app-admin/gentoo-rsync-mirror
parentGetting some post-build deps into (diff)
downloadgentoo-2-eae6affd261913a8e6291449e7b144e02943f228.tar.gz
gentoo-2-eae6affd261913a8e6291449e7b144e02943f228.tar.bz2
gentoo-2-eae6affd261913a8e6291449e7b144e02943f228.zip
Some fixes to improve logging when called with absolute paths. Closes #35527.
Diffstat (limited to 'app-admin/gentoo-rsync-mirror')
-rw-r--r--app-admin/gentoo-rsync-mirror/ChangeLog6
-rw-r--r--app-admin/gentoo-rsync-mirror/Manifest4
-rw-r--r--app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh6
3 files changed, 10 insertions, 6 deletions
diff --git a/app-admin/gentoo-rsync-mirror/ChangeLog b/app-admin/gentoo-rsync-mirror/ChangeLog
index b899f370be57..210026a660d6 100644
--- a/app-admin/gentoo-rsync-mirror/ChangeLog
+++ b/app-admin/gentoo-rsync-mirror/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/gentoo-rsync-mirror
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/ChangeLog,v 1.10 2003/12/06 13:11:07 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/ChangeLog,v 1.11 2003/12/10 21:39:13 tantive Exp $
+
+ 10 Dec 2003; Michael Imhof <tantive@gentoo.org> :
+ Some fixes to improve logging when called with absolute paths.
+ Closes #35527.
06 Dec 2003; Michael Imhof <tantive@gentoo.org> :
Changed the script to log to /var/log.
diff --git a/app-admin/gentoo-rsync-mirror/Manifest b/app-admin/gentoo-rsync-mirror/Manifest
index 9aa110d5aa82..9ccc210f824b 100644
--- a/app-admin/gentoo-rsync-mirror/Manifest
+++ b/app-admin/gentoo-rsync-mirror/Manifest
@@ -1,8 +1,8 @@
MD5 beb9efce81ae2c582a621528fc783095 metadata.xml 373
MD5 e5fb37e976cd304902dbe5f73cb379cf gentoo-rsync-mirror-1.0-r2.ebuild 1574
-MD5 b9283ebf53866da626387893a2d3d0bb ChangeLog 1339
+MD5 36036912949768c6fcc1961f8d02ccf9 ChangeLog 1474
MD5 53fd9d68b1864d67464948ef4b4dc741 files/rsyncd.init 546
-MD5 5833305e6d8aa92eea275ca18a61713f files/rsync-gentoo-portage.sh 659
+MD5 f316b4a17a1af77af417bf6fccb571af files/rsync-gentoo-portage.sh 692
MD5 d188104c33c5333b9eb1a42478987326 files/rsyncd.conf 503
MD5 508f4e735f2fbacd4a123c002c72e545 files/rsyncd.motd 44
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gentoo-rsync-mirror-1.0-r2 0
diff --git a/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh b/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh
index 5f01e69a3719..8b4015c79df4 100644
--- a/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh
+++ b/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh
@@ -8,9 +8,9 @@ OPTS="--quiet --recursive --links --perms --times --devices --compress --delete
SRC="rsync://rsync.gentoo.org/gentoo-portage"
DST="/opt/gentoo-rsync/portage/"
-echo "Started update at" `date` >> /var/log/$0.log 2>&1
+echo "Started update at" `date` >> /var/log/`basename $0`.log 2>&1
logger -t rsync "re-rsyncing the gentoo-portage tree"
-${RSYNC} ${OPTS} ${SRC} ${DST} >> /var/log/$0.log 2>&1
+${RSYNC} ${OPTS} ${SRC} ${DST} >> /var/log/`basename $0`.log 2>&1
-echo "End: "`date` >> /var/log/$0.log 2>&1
+echo "End: "`date` >> /var/log/`basename $0`.log 2>&1