1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-15 07:41:09 -08:00
emacs/mps/home/bin/checkout
Pekka Pirinen fa22a6d77e New crontab syntax
Copied from Perforce
 Change: 21528
 ServerID: perforce.ravenbrook.com
2000-09-21 12:55:55 +01:00

16 lines
562 B
Bash

#!/usr/local/bin/bash
# impl.sh.checkout: ROBOT CHECKOUT SCRIPT
#
# $HopeName: HOMEmm!bin:checkout(trunk.9) $
#
# This script is run in the MM Project Robot's home directory (~mm) as
# the user `mm'. It checks out the HOMEmm compound and updates the
# crontab, in order be sure that the robot's files are up to date
# before the other overnight scripts run.
hostname=`hostname`; hostname=${hostname%%.*}
cd $HOME &&
hope checkout -compound HOMEmm -recursive -writable-files skip \
-extra-files delete -missing-dir create &&
crontab $HOME/etc/$hostname.cron