summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-doc/gentoo-web/files/bin/cvslog.sh')
-rwxr-xr-xapp-doc/gentoo-web/files/bin/cvslog.sh18
1 files changed, 7 insertions, 11 deletions
diff --git a/app-doc/gentoo-web/files/bin/cvslog.sh b/app-doc/gentoo-web/files/bin/cvslog.sh
index ff1f4cd66520..e02a959b832e 100755
--- a/app-doc/gentoo-web/files/bin/cvslog.sh
+++ b/app-doc/gentoo-web/files/bin/cvslog.sh
@@ -1,15 +1,12 @@
#!/bin/bash
USER=drobbins
-HOMEDIR=/home/${USER}
-SSHAGENTFILE=${HOMEDIR}/.ssh-agent-cvs.gentoo.org
-CVSDIR=${HOMEDIR}/gentoo/gentoo-x86
-OUTLOG=${HOMEDIR}/gentoo/xmlcvslog.txt
-OUTMAIL=${HOMEDIR}/gentoo/cvslog.txt
-WEBDIR=/usr/local/httpd/htdocs
-XSLTP=/opt/gnome/bin/xsltproc
-TMPFILE=${HOMEDIR}/gentoo/xmlcvslog.tmp
-
-source ${SSHAGENTFILE}
+HOMEDIR=/home/d/${USER}
+CVSDIR=${HOMEDIR}/scripts/gentoo-x86
+OUTLOG=${HOMEDIR}/scripts/cvslog.out
+OUTMAIL=${HOMEDIR}/scripts/cvsmail.out
+WEBDIR=/www/virtual/www.gentoo.org/htdocs
+XSLTP=/usr/bin/xsltproc
+TMPFILE=${HOMEDIR}/scripts/cvslog.tmp
if [ -z "$CVSMAIL" ]
then
@@ -27,7 +24,6 @@ nicedate=`date -d yesterday +"%d %b %Y %Z (%z)"`
$XSLTP ${WEBDIR}/xsl/cvs.xsl ${OUTLOG}.2 > $TMPFILE
$XSLTP ${WEBDIR}/xsl/guide-main.xsl $TMPFILE > ${WEBDIR}/index-changelog.html
chmod 0644 ${WEBDIR}/index-changelog.html
-scp -o Protocol=1 ${WEBDIR}/index-changelog.html drobbins@ftp.spinn.net:www/
if [ "$CVSMAIL" = "yes" ]
then
/usr/bin/cvs2cl.pl -f ${OUTMAIL} -l "${cvsdate}"