From: Chris Hanson Date: Wed, 3 Sep 2008 04:10:34 +0000 (+0000) Subject: Add optional argument to control whether to authenticate using a X-Git-Tag: 20090517-FFI~186 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=44dd25db127ee981e7226ee41e197f711c58ccca;p=mit-scheme.git Add optional argument to control whether to authenticate using a keytab (needed for cron access). --- diff --git a/etc/update-rcs-log b/etc/update-rcs-log index 33ee30d23..354b9af14 100755 --- a/etc/update-rcs-log +++ b/etc/update-rcs-log @@ -15,8 +15,10 @@ if [ -z "${CVS2CL}" ]; then exit 1 fi -#kinit -k -t /home/cph/cron.keytab cph/cron -#aklog +if [ -n "${1}" ]; then + kinit -k -t /home/${1}/cron.keytab ${1}/cron + aklog +fi COMMON="--revisions --usermap /scheme/v7/src/etc/usermap --domain zurich.csail.mit.edu --stdout --no-wrap --separate-header --window 3600" GOPTS_SCHEME="-d:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/mit-scheme"